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

Disassembly:
push 0xffffffffffffffff
push 0x100533ce
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x10067060]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10067060]
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 [0x1006c1e8], ebp
jne 0x1001de9b
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 [0x1006c1e8], esi
mov edx, dword [ebx + 8]
push edx
push 0x10059db0
call fcn.1002ea97
add esp, 8
cmp dword [ebx + 8], ebp
jne 0x1001e448
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.100091f0
lea eax, [esp + 0xe4]
push eax
call fcn.1001ca00
add esp, 0x20
mov dword [esp + 0xf0], ebp
cmp dword [esp + 0xdc], ebp
jne 0x1001df0c
push 4
mov eax, str.4lpS7h
lea esi, [esp + 0xcc]
call fcn.1000a400
movzx ecx, byte [ebx + 0x29]
mov edx, 0x10
sub edx, ecx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fmul qword [0x1005c750]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcomp qword [0x1005c748]
fnstsw ax
test ah, 5
jp 0x1001df44
fld dword [0x1005c740]
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 0x1001df86
mov eax, dword [ebx + 0x3c]
jmp 0x1001df89
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.1001ce30
add esp, 0xc
push eax
lea edx, [esp + 0x68]
push edx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
call fcn.1001e470
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 0x1001e061
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x40]
push ebp
push edx
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, ebp
je 0x1001e074
mov dword [esp + 0x44], eax
push 4
push esi
call sub.gdiplus.dll_GdipSetSmoothingMode
cmp eax, ebp
je 0x1001e084
mov dword [esp + 0x3c], eax
push 4
push esi
call sub.gdiplus.dll_GdipSetTextRenderingHint
cmp eax, ebp
je 0x1001e094
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 0x1001e0be
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 0x1001e0da
mov eax, dword [eax]
jmp 0x1001e0dc
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 0x1001e0fb
mov dword [esp + 0x3c], eax
fld dword [0x1005c738]
fcom dword [esp + 0x50]
fnstsw ax
test ah, 0x41
jne 0x1001e110
fst dword [esp + 0x50]
fcom dword [esp + 0x54]
fnstsw ax
test ah, 0x41
jne 0x1001e121
fstp dword [esp + 0x54]
jmp 0x1001e123
fstp st(0)
movzx eax, word [ebx + 0x2a]
cmp ax, bp
jge 0x1001e135
cwde
neg eax
mov dword [esp + 0x20], eax
jmp 0x1001e13c
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 [0x1005c720]
mov dword [esp + 0x34], eax
fdiv qword [0x1005c718]
fst qword [esp + 0x6c]
call fcn.1004f9c0
fstp qword [esp + 0x5c]
fld qword [esp + 0x6c]
call fcn.1004f890
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.1004f7a0
fild dword [esp + 0xfc]
mov edi, eax
mov dword [esp + 0x58], edi
fdiv dword [esp + 0x88]
call fcn.1004f7a0
cmp edi, ebp
mov ebx, eax
mov dword [esp + 0x1c], ebp
jle 0x1001e3de
fld qword [0x1005c700]
xor edi, edi
cmp ebx, ebp
mov dword [esp + 0x18], edi
jle 0x1001e3c9
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 0x1001e286
fld qword [0x1005c700]
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 0x1001e2dc
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 0x1001e30c
mov dword [esp + 0x3c], eax
cmp dword [esp + 0xe0], 8
mov ecx, dword [esp + 0xcc]
jae 0x1001e324
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 0x1001e356
mov eax, dword [eax]
jmp 0x1001e358
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 0x1001e37f
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 0x1001e3a4
mov dword [esp + 0x3c], eax
push esi
call sub.gdiplus.dll_GdipResetWorldTransform
cmp eax, ebp
je 0x1001e3b2
mov dword [esp + 0x3c], eax
inc edi
cmp edi, ebx
mov dword [esp + 0x18], edi
jl 0x1001e280
fld dword [esp + 0x30]
fld qword [0x1005c700]
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
jl 0x1001e244
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 0x1001e41e
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1001e41e
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 0x1001e41e
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 0x1001e448
mov edx, dword [esp + 0xcc]
push edx
call fcn.10038093
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.10037693
add esp, 0xe0
ret