Function at 0x1001d9b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10052d3e
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x10066060]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10066060]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
xor ebp, ebp
mov ebx, edx
mov edi, ecx
mov dword [esp + 0x8c], ebx
cmp dword [0x1006b1e8], ebp
jne 0x1001da2b
push ebp
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x60]
mov esi, 1
push ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
call sub.gdiplus.dll_GdiplusStartup
mov dword [0x1006b1e8], esi
mov edx, dword [ebx + 8]
push edx
push 0x10058d80
call fcn.1002e66b
add esp, 8
cmp dword [ebx + 8], ebp
jne 0x1001dfd8
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x74], esp
push 0xffffffffffffffff
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebp
lea eax, [ebx + 0xc]
push ebp
mov word [ecx + 4], dx
call fcn.10008d90
lea eax, [esp + 0xe4]
push eax
call fcn.1001c590
add esp, 0x20
mov dword [esp + 0xf0], ebp
cmp dword [esp + 0xdc], ebp
jne 0x1001da9c
push 4
mov eax, str.4lpS7h
lea esi, [esp + 0xcc]
call fcn.10009f80
movzx ecx, byte [ebx + 0x29]
mov edx, 0x10
sub edx, ecx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fmul qword [0x1005b6d8]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcomp qword [0x1005b6d0]
fnstsw ax
test ah, 5
jp 0x1001dad4
fld dword [0x1005b6c8]
fstp dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push edi
mov dword [esp + 0x2c], ebp
call sub.gdiplus.dll_GdipCreateFromHDC
mov esi, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x40]
push ecx
push ebp
push ebp
mov dword [esp + 0x4c], ebp
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x44], eax
mov byte [esp + 0xf0], 2
cmp dword [ebx + 0x50], 8
jb 0x1001db16
mov eax, dword [ebx + 0x3c]
jmp 0x1001db19
lea eax, [ebx + 0x3c]
movzx edx, byte [ebx + 0x55]
movzx ecx, byte [ebx + 0x54]
push edx
push ecx
push eax
mov al, byte [ebx + 0x56]
call fcn.1001c9c0
add esp, 0xc
push eax
lea edx, [esp + 0x68]
push edx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
call fcn.1001e000
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x30]
lea edx, [esp + 0x24]
push edx
movzx edx, cl
or edx, 0xffffff00
shl edx, 8
mov dword [esp + 0x1c], ebx
mov ebx, ecx
shr ecx, 0x10
shr ebx, 8
movzx ecx, cl
movzx edi, bl
or edx, edi
shl edx, 8
or edx, ecx
push ebp
push edx
movzx edx, al
mov ecx, eax
or edx, 0xffffff00
shr ecx, 8
shl edx, 8
movzx ecx, cl
or edx, ecx
shr eax, 0x10
movzx eax, al
shl edx, 8
or edx, eax
push edx
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0xac]
push edx
mov dword [esp + 0xa8], 0x500
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xb4], ebp
mov dword [esp + 0x3c], ebp
call sub.gdiplus.dll_GdipCreateLineBrushI
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x24]
push ebp
push ecx
mov dword [esp + 0xbc], eax
call sub.gdiplus.dll_GdipSetStringFormatAlign
mov ebx, dword [esp + 0x18]
cmp eax, ebp
je 0x1001dbf1
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x40]
push ebp
push edx
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, ebp
je 0x1001dc04
mov dword [esp + 0x44], eax
push 4
push esi
call sub.gdiplus.dll_GdipSetSmoothingMode
cmp eax, ebp
je 0x1001dc14
mov dword [esp + 0x3c], eax
push 4
push esi
call sub.gdiplus.dll_GdipSetTextRenderingHint
cmp eax, ebp
je 0x1001dc24
mov dword [esp + 0x3c], eax
cmp dword [esp + 0xe0], 8
fldz
mov ecx, dword [esp + 0xcc]
fst dword [esp + 0x48]
fst dword [esp + 0x4c]
fst dword [esp + 0x50]
fst dword [esp + 0x54]
jae 0x1001dc4e
lea ecx, [esp + 0xcc]
mov eax, dword [esp + 0x64]
fst dword [esp + 0x28]
fst dword [esp + 0x2c]
fst dword [esp + 0x30]
fstp dword [esp + 0x34]
cmp eax, ebp
je 0x1001dc6a
mov eax, dword [eax]
jmp 0x1001dc6c
xor eax, eax
push ebp
push ebp
lea edx, [esp + 0x50]
push edx
push ebp
lea edx, [esp + 0x38]
push edx
push eax
push 0xffffffffffffffff
push ecx
push esi
call sub.gdiplus.dll_GdipMeasureString
cmp eax, ebp
je 0x1001dc8b
mov dword [esp + 0x3c], eax
fld dword [0x1005b6c0]
fcom dword [esp + 0x50]
fnstsw ax
test ah, 0x41
jne 0x1001dca0
fst dword [esp + 0x50]
fcom dword [esp + 0x54]
fnstsw ax
test ah, 0x41
jne 0x1001dcb1
fstp dword [esp + 0x54]
jmp 0x1001dcb3
fstp st(0)
movzx eax, word [ebx + 0x2a]
cmp ax, bp
jge 0x1001dcc5
cwde
neg eax
mov dword [esp + 0x20], eax
jmp 0x1001dccc
movsx ecx, ax
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x48]
fstp dword [esp + 0x18]
mov ebx, dword [esp + 0x4c]
fld dword [esp + 0x18]
mov dword [esp + 0x30], edx
fmul qword [0x1005b6a8]
mov dword [esp + 0x34], eax
fdiv qword [0x1005b6a0]
fst qword [esp + 0x6c]
call fcn.1004f3e0
fstp qword [esp + 0x5c]
fld qword [esp + 0x6c]
call fcn.1004f2b0
fld dword [esp + 0x50]
fld st(0)
mov dword [esp + 0x7c], edi
fmul st(2)
mov dword [esp + 0x80], ebx
fld dword [esp + 0x54]
fld st(0)
fld qword [esp + 0x5c]
fmul st(1), st(0)
fxch st(3)
faddp st(1)
fstp dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x84], ecx
fmulp st(3)
fmulp st(1)
faddp st(1)
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x34]
fld dword [esp + 0x30]
mov dword [esp + 0x88], edx
fld st(0)
fld dword [esp + 0x1c]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x20]
fmul dword [esp + 0x34]
fstp dword [esp + 0x78]
fld dword [esp + 0x20]
fadd st(1)
fstp dword [esp + 0x84]
fld dword [esp + 0x88]
fadd dword [esp + 0x78]
fstp dword [esp + 0x88]
fild dword [esp + 0xf8]
fdiv dword [esp + 0x84]
call fcn.1004f1c0
fild dword [esp + 0xfc]
mov edi, eax
mov dword [esp + 0x58], edi
fdiv dword [esp + 0x88]
call fcn.1004f1c0
cmp edi, ebp
mov ebx, eax
mov dword [esp + 0x1c], ebp
jle 0x1001df6e
fld qword [0x1005b688]
xor edi, edi
cmp ebx, ebp
mov dword [esp + 0x18], edi
jle 0x1001df59
fild dword [esp + 0x1c]
fmul dword [esp + 0x84]
fadd dword [esp + 0x20]
fxch st(2)
fmul st(1)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x5c]
fld dword [esp + 0x34]
fmul st(1)
fstp qword [esp + 0xbc]
jmp 0x1001de16
fld qword [0x1005b688]
fild dword [esp + 0x18]
push ebp
sub esp, 8
fmul dword [esp + 0x94]
fadd dword [esp + 0x84]
fadd qword [esp + 0xc8]
fstp dword [esp + 0x6c]
fld dword [esp + 0x5c]
fchs
fmul st(1)
fstp dword [esp + 0x78]
fld dword [esp + 0x60]
fchs
fmulp st(1)
fstp dword [esp + 0x7c]
fld dword [esp + 0x6c]
fstp dword [esp + 4]
fld dword [esp + 0x68]
fstp dword [esp]
push esi
call sub.gdiplus.dll_GdipTranslateWorldTransform
cmp eax, ebp
je 0x1001de6c
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x8c]
movsx ecx, word [eax + 0x2a]
mov dword [esp + 0x18], ecx
push ebp
push ecx
fild dword [esp + 0x20]
fchs
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp]
push esi
call sub.gdiplus.dll_GdipRotateWorldTransform
cmp eax, ebp
je 0x1001de9c
mov dword [esp + 0x3c], eax
cmp dword [esp + 0xe0], 8
mov ecx, dword [esp + 0xcc]
jae 0x1001deb4
lea ecx, [esp + 0xcc]
fld dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
fstp dword [esp + 0xa0]
fld dword [esp + 0x70]
fstp dword [esp + 0xa4]
fldz
fst dword [esp + 0xa8]
fstp dword [esp + 0xac]
cmp eax, ebp
je 0x1001dee6
mov eax, dword [eax]
jmp 0x1001dee8
xor eax, eax
mov edx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0x44]
push edx
lea edx, [esp + 0xa8]
push edx
push eax
push 0xffffffffffffffff
push ecx
push esi
call sub.gdiplus.dll_GdipDrawString
cmp eax, ebp
je 0x1001df0f
mov dword [esp + 0x3c], eax
fld dword [esp + 0x60]
push ebp
fchs
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x68]
fchs
fstp dword [esp]
push esi
call sub.gdiplus.dll_GdipTranslateWorldTransform
cmp eax, ebp
je 0x1001df34
mov dword [esp + 0x3c], eax
push esi
call sub.gdiplus.dll_GdipResetWorldTransform
cmp eax, ebp
je 0x1001df42
mov dword [esp + 0x3c], eax
inc edi
cmp edi, ebx
mov dword [esp + 0x18], edi
jl 0x1001de10
fld dword [esp + 0x30]
fld qword [0x1005b688]
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
jl 0x1001ddd4
fstp st(0)
mov eax, dword [esp + 0xb4]
fstp st(0)
push eax
call sub.gdiplus.dll_GdipDeleteBrush
mov edi, dword [esp + 0x68]
cmp edi, ebp
je 0x1001dfae
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1001dfae
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001dfae
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x40]
push ecx
call sub.gdiplus.dll_GdipDeleteStringFormat
push esi
call sub.gdiplus.dll_GdipDeleteGraphics
cmp dword [esp + 0xe0], 8
jb 0x1001dfd8
mov edx, dword [esp + 0xcc]
push edx
call fcn.100378fa
add esp, 4
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.100370e4
add esp, 0xe0
ret