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

Disassembly:
push 0xffffffffffffffff
push 0x10051eb9
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x10066060]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10066060]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xd4]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x90], esp
xor edi, edi
push 0xffffffffffffffff
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
lea eax, [ebp + 0xc]
push edi
mov word [ecx + 4], dx
call fcn.10008d90
lea eax, [esp + 0xbc]
push eax
call fcn.1001c590
add esp, 0x20
mov dword [esp + 0xcc], edi
cmp dword [esp + 0xb4], edi
jne 0x1001d16e
push 4
mov eax, str.4lpS7h
lea esi, [esp + 0xa4]
call fcn.10009f80
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, edi
je 0x1001d1ac
lea ecx, [esp + 0x20]
push ecx
push edi
push 0x30803
push edi
push 0x7d0
push 0x7d0
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [esp + 0x38], edi
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov edx, dword [esp + 0x20]
mov dword [esi + 8], eax
mov dword [esi + 4], edx
jmp 0x1001d1ae
xor esi, esi
push esi
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
call fcn.1001b8d0
mov eax, dword [esp + 0x4c]
xor esi, esi
mov dword [esp + 0x70], esi
cmp eax, edi
je 0x1001d1e5
mov edx, dword [eax + 4]
lea ecx, [esp + 0x70]
push ecx
push edx
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov esi, dword [esp + 0x70]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], esi
mov byte [esp + 0xcc], 2
cmp dword [ebp + 0x50], 8
jb 0x1001d1fc
mov eax, dword [ebp + 0x3c]
jmp 0x1001d1ff
lea eax, [ebp + 0x3c]
movzx ecx, byte [ebp + 0x55]
movzx edx, byte [ebp + 0x54]
push ecx
push edx
push eax
mov al, byte [ebp + 0x56]
call fcn.1001c9c0
add esp, 0xc
push eax
lea eax, [esp + 0x7c]
push eax
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
call fcn.1001e000
lea ecx, [esp + 0x34]
push ecx
push edi
push edi
mov dword [esp + 0x40], edi
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x34]
push edi
push edx
call sub.gdiplus.dll_GdipSetStringFormatAlign
cmp eax, edi
je 0x1001d255
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
push edi
push eax
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, edi
je 0x1001d268
mov dword [esp + 0x38], eax
push 4
push esi
call sub.gdiplus.dll_GdipSetTextRenderingHint
cmp eax, edi
je 0x1001d278
mov dword [esp + 0x30], eax
push 0xffffff
push esi
call sub.gdiplus.dll_GdipGraphicsClear
cmp eax, edi
je 0x1001d28b
mov dword [esp + 0x30], eax
mov ecx, dword [ebp + 0x30]
mov edx, dword [ebp + 0x2c]
movzx eax, cl
mov ebx, ecx
shr ecx, 0x10
or eax, 0xffffff00
shr ebx, 8
movzx edi, bl
movzx ecx, cl
shl eax, 8
or eax, edi
shl eax, 8
or eax, ecx
movzx ecx, dl
mov ebx, edx
or ecx, 0xffffff00
shr ebx, 8
shl ecx, 8
movzx edi, bl
shr edx, 0x10
or ecx, edi
movzx edx, dl
shl ecx, 8
or ecx, edx
xor ebx, ebx
lea edx, [esp + 0x20]
push edx
push ebx
push eax
push ecx
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x98]
push ecx
mov dword [esp + 0xa4], 0x80
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xac], 0x10058db8
mov dword [esp + 0x38], ebx
call sub.gdiplus.dll_GdipCreateLineBrushI
mov edx, dword [esp + 0x20]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], edx
mov byte [esp + 0xcc], 5
fldz
cmp dword [esp + 0xb8], 8
fst dword [esp + 0x3c]
mov ecx, dword [esp + 0xa4]
fst dword [esp + 0x40]
fst dword [esp + 0x44]
fst dword [esp + 0x48]
jae 0x1001d364
lea ecx, [esp + 0xa4]
mov edi, dword [esp + 0x78]
fst dword [esp + 0x54]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fstp dword [esp + 0x60]
cmp edi, ebx
je 0x1001d380
mov eax, dword [edi]
jmp 0x1001d382
xor eax, eax
push ebx
push ebx
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x40]
push edx
lea edx, [esp + 0x64]
push edx
push eax
push 0xffffffffffffffff
push ecx
push esi
call sub.gdiplus.dll_GdipMeasureString
cmp eax, ebx
je 0x1001d3a5
mov dword [esp + 0x30], eax
fldz
fld dword [esp + 0x44]
fcom st(1)
fnstsw ax
fld dword [0x1005b6c0]
test ah, 0x41
jp 0x1001d3c6
fstp st(1)
fst dword [esp + 0x44]
fld dword [esp + 0x44]
fxch st(1)
fld dword [esp + 0x48]
fcom st(3)
fnstsw ax
fstp st(3)
test ah, 0x41
jp 0x1001d3f0
fstp st(2)
fxch st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fxch st(1)
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x1001d3f4
fstp st(1)
jmp 0x1001d3f6
fstp st(0)
jmp 0x1001d3e3
fstp st(0)
cmp dword [esp + 0xb8], 8
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
mov eax, dword [esp + 0xa4]
fmul qword [0x1005b6b8]
fadd qword [0x1005b6b0]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fst dword [esp + 0x54]
fstp dword [esp + 0x58]
jae 0x1001d432
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x9c]
lea edx, [esp + 0x3c]
lea eax, [esp + 0x5c]
call fcn.1001c390
fld dword [esp + 0x44]
fld qword [0x1005b688]
mov edi, dword [esp + 0x2c]
fmul st(1), st(0)
push ebx
fld dword [esp + 0x20]
sub esp, 8
fld st(0)
faddp st(3)
fxch st(2)
fstp dword [esp + 0x24]
fmul dword [esp + 0x54]
faddp st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp + 4]
fld dword [esp + 0x24]
fstp dword [esp]
push edi
call sub.gdiplus.dll_GdipTranslateWorldTransform
cmp eax, ebx
je 0x1001d495
mov dword [esp + 0x30], eax
movsx ecx, word [ebp + 0x2a]
mov dword [esp + 0x14], ecx
push ebx
push ecx
fild dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
push edi
call sub.gdiplus.dll_GdipRotateWorldTransform
cmp eax, ebx
je 0x1001d4bc
mov dword [esp + 0x30], eax
fld dword [esp + 0x18]
push ebx
fchs
sub esp, 8
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fchs
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 4]
fld dword [esp + 0x30]
fstp dword [esp]
push edi
call sub.gdiplus.dll_GdipTranslateWorldTransform
cmp eax, ebx
je 0x1001d4f1
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
push 0xffffff
push edi
mov esi, eax
call sub.gdiplus.dll_GdipGraphicsClear
cmp eax, ebx
je 0x1001d511
mov dword [esp + 0x30], eax
cmp esi, ebx
je 0x1001d51a
mov eax, dword [esi + 4]
jmp 0x1001d51c
xor eax, eax
push ebx
push ebx
push eax
push edi
call sub.gdiplus.dll_GdipDrawImageI
cmp eax, ebx
je 0x1001d52d
mov dword [esp + 0x30], eax
cmp esi, ebx
je 0x1001d53b
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
movsx eax, word [ebp + 0x2a]
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x1005b6a8]
fdiv qword [0x1005b6a0]
fst qword [esp + 0x54]
call fcn.1004f3e0
fstp qword [esp + 0x64]
fld qword [esp + 0x54]
call fcn.1004f2b0
fld dword [esp + 0x44]
fld st(0)
fmul st(2)
fld dword [esp + 0x48]
fld st(0)
fld qword [esp + 0x64]
fmul st(1), st(0)
fxch st(3)
faddp st(1)
fstp dword [esp + 0x18]
fld st(0)
fmulp st(4)
fld st(2)
fmulp st(2)
fxch st(3)
faddp st(1)
fstp dword [esp + 0x28]
fld qword [0x1005b688]
fmul st(1), st(0)
fld dword [esp + 0x1c]
fld st(0)
faddp st(3)
fld dword [esp + 0x18]
fld st(0)
fmul st(3)
fsubp st(4)
fxch st(3)
fstp dword [esp + 0x74]
fxch st(3)
fmul st(1)
faddp st(3)
fld dword [esp + 0x28]
fld st(0)
fmulp st(2)
fxch st(3)
fsubrp st(1)
fstp dword [esp + 0x80]
fld qword [0x1005b698]
fdiv st(1), st(0)
fdiv st(2), st(0)
fxch st(1)
fcom st(2)
fnstsw ax
test ah, 5
jp 0x1001d5ec
fld st(0)
jmp 0x1001d5ee
fld st(2)
fcomp st(2)
fnstsw ax
test ah, 5
jp 0x1001d606
fstp st(1)
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x1001d608
fstp st(0)
jmp 0x1001d60a
fstp st(0)
fstp st(1)
movzx ecx, byte [ebp + 0x29]
fstp dword [esp + 0x24]
mov edx, 0x10
sub edx, ecx
mov dword [esp + 0x14], edx
push 0x10
fild dword [esp + 0x18]
fmul dword [esp + 0x28]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [esp + 0x18]
fstp dword [esp + 0x28]
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, ebx
je 0x1001d691
fld dword [esp + 0x24]
lea eax, [esp + 0x1c]
fld qword [0x1005b690]
push eax
fmul st(1), st(0)
push ebx
fld dword [esp + 0x30]
push 0x30803
push ebx
faddp st(2)
mov dword [esi], vtable.Gdiplus::Bitmap.0
fxch st(1)
mov dword [esp + 0x2c], ebx
call fcn.1004f1c0
fmul dword [esp + 0x24]
push eax
fadd dword [esp + 0x2c]
call fcn.1004f1c0
push eax
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], eax
mov dword [esi + 4], ecx
jmp 0x1001d693
xor esi, esi
push esi
lea edx, [esp + 0x68]
push edx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
call fcn.1001b8d0
mov ebp, dword [esp + 0x64]
xor esi, esi
mov dword [esp + 0x1c], esi
cmp ebp, ebx
je 0x1001d6ca
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x1c]
push eax
push ecx
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], esi
push 0xffffff
push esi
mov byte [esp + 0xd4], 7
call sub.gdiplus.dll_GdipGraphicsClear
cmp eax, ebx
je 0x1001d6e9
mov dword [esp + 0x58], eax
fld dword [esp + 0x28]
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 4]
push 2
sub esp, 0x18
fstp dword [esp + 0x14]
fld dword [esp + 0x34]
fstp dword [esp + 0x10]
fld dword [esp + 0x9c]
fstp dword [esp + 0xc]
fld dword [esp + 0x90]
fstp dword [esp + 8]
fld dword [esp + 0x40]
fstp dword [esp + 4]
fld dword [esp + 0x30]
fstp dword [esp]
push eax
push esi
call sub.gdiplus.dll_GdipDrawImagePointRect
cmp eax, ebx
je 0x1001d739
mov dword [esp + 0x58], eax
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
push esi
mov ebp, eax
call sub.gdiplus.dll_GdipDeleteGraphics
mov byte [esp + 0xcc], 5
mov esi, dword [esp + 0x68]
cmp esi, ebx
je 0x1001d784
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1001d784
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001d784
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x20]
push ecx
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0x34]
push edx
call sub.gdiplus.dll_GdipDeleteStringFormat
mov byte [esp + 0xcc], 2
mov esi, dword [esp + 0x7c]
cmp esi, ebx
je 0x1001d7d1
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001d7d1
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1001d7d1
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
push edi
call sub.gdiplus.dll_GdipDeleteGraphics
mov byte [esp + 0xcc], bl
mov esi, dword [esp + 0x50]
cmp esi, ebx
je 0x1001d80f
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001d80f
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1001d80f
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
cmp dword [esp + 0xb8], 8
jb 0x1001d829
mov eax, dword [esp + 0xa4]
push eax
call fcn.100378fa
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.100370e4
add esp, 0xbc
ret