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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x4a1d78]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
mov ebx, ecx
push esi
push edi
mov edi, edx
mov ecx, dword [ebx + 0xa8]
test ecx, ecx
je 0x483db9
mov eax, dword [ebx + 0x94]
test eax, eax
jg 0x483d59
jne 0x483db9
cmp byte [ebx + 0xa4], 0
je 0x483db9
cmp byte [ebp + 8], 0
jne 0x483db9
lea eax, [ecx + 4]
mov dword [edi + 0x20], eax
mov eax, dword [ebx + 0xa8]
mov eax, dword [eax + 0x18]
mov dword [edi], eax
mov eax, dword [ebx + 0xa8]
mov eax, dword [eax + 0x1c]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0xa8]
cmp byte [eax + 0x44], 0
je 0x484357
mov eax, dword [eax + 0x38]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0xa8]
mov eax, dword [eax + 0x3c]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0xa8]
mov eax, dword [eax + 0x40]
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0xc]
cdq
idiv dword [edi]
inc eax
mov dword [edi + 0x1c], eax
jmp 0x484357
lea esi, [ebx + 0x64]
mov ecx, esi
call fcn.00437b70
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.00437b42
mov dl, byte [ebp + 8]
mov ecx, eax
movzx eax, dl
neg eax
mov dword [esp + 0x14], ecx
sbb eax, eax
and eax, 2
mov dword [esp + 0x20], eax
xor eax, eax
test dl, dl
setne al
mov dword [esp + 0x28], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x24], eax
cmp ecx, eax
jg 0x483e03
test dl, dl
jne 0x483e03
xor al, al
jmp 0x483e05
mov al, 1
cmp dword [ebx + 0x90], 0
jne 0x484093
test al, al
je 0x48406a
cmp byte [ebx + 0xa4], 0
je 0x483fd3
fild dword [esp + 0x24]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fild dword [esp + 0x14]
fstp dword [esp + 0x10]
fdiv dword [esp + 0x10]
fstp dword [esp + 0x18]
fild dword [ebx + 0x98]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld dword [esp + 0x18]
fld st(0)
fmulp st(2)
fld qword [0x4130a8]
fadd st(2), st(0)
fxch st(2)
call sub.msvcrt.dll__ftol2_sse
fild dword [ebx + 0x9c]
mov dword [esp + 0x1c], eax
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld st(1)
fmulp st(1)
fadd st(2)
call sub.msvcrt.dll__ftol2_sse
fild dword [ebx + 0xa0]
mov dword [esp + 0x18], eax
fstp dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
call sub.msvcrt.dll__ftol2_sse
push 0x10
mov dword [esp + 0x14], eax
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov dword [esp + 0xc], eax
test eax, eax
je 0x483ed6
mov ecx, dword [esp + 0x24]
add ecx, dword [esp + 0x20]
push 0x26200a
push ecx
mov ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x24]
push ecx
mov ecx, eax
call fcn.00437c00
jmp 0x483ed8
xor eax, eax
push eax
lea ecx, [esp + 0x50]
mov dword [0x4a49e4], eax
call fcn.00437b9e
mov eax, dword [esp + 0x28]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push dword [esp + 0x24]
mov dword [esp + 0x44], eax
push dword [ebx + 0x98]
mov eax, dword [esp + 0x34]
push ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x40]
push ecx
mov dword [esp + 0x58], eax
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x70]
push esi
call fcn.00437aa8
mov eax, dword [esp + 0x1c]
push ecx
push ecx
push 0
push ecx
push dword [esp + 0x24]
mov dword [esp + 0x40], eax
push dword [ebx + 0x9c]
mov eax, dword [esp + 0x30]
push ecx
push dword [ebx + 0x98]
mov dword [esp + 0x54], eax
lea ecx, [esp + 0x6c]
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.00437aa8
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push ecx
push ecx
push 0
push ecx
push dword [esp + 0x24]
add eax, ecx
push dword [ebx + 0xa0]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x98]
add eax, dword [ebx + 0x9c]
push ecx
push eax
lea eax, [esp + 0x4c]
push eax
push esi
lea ecx, [esp + 0x74]
call fcn.00437aa8
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x14], eax
add eax, edx
mov dword [edi + 0x10], ecx
add ecx, eax
mov eax, dword [edi + 8]
add eax, dword [esp + 0x20]
mov dword [edi + 4], eax
mov eax, dword [edi + 0xc]
mov dword [edi + 0x18], edx
cdq
idiv ecx
push dword [esp + 0x4c]
inc eax
mov dword [edi], ecx
mov dword [edi + 0x1c], eax
jmp 0x48405f
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov dword [esp + 0xc], eax
test eax, eax
je 0x484001
mov ecx, esi
call fcn.00437bd6
mov ecx, dword [edi + 8]
add ecx, dword [esp + 0x20]
push eax
push ecx
push dword [edi + 0xc]
mov ecx, dword [esp + 0x18]
call fcn.00437c00
jmp 0x484003
xor eax, eax
push eax
lea ecx, [esp + 0x58]
mov dword [0x4a49e4], eax
call fcn.00437b9e
mov eax, dword [esp + 0x28]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push dword [esp + 0x24]
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x78], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x24]
push eax
push ecx
push ecx
lea eax, [esp + 0x7c]
mov dword [esp + 0x7c], ecx
push eax
push esi
lea ecx, [esp + 0x7c]
call fcn.00437aa8
mov eax, dword [edi + 0xc]
push dword [esp + 0x54]
mov dword [edi], eax
mov eax, dword [edi + 8]
add eax, dword [esp + 0x24]
mov dword [edi + 4], eax
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
jmp 0x48434f
mov eax, dword [esi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4a60bc]
lea ecx, [ebx + 0x64]
call esi
mov dword [0x4a49e4], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x10]
mov dword [edi], eax
jmp 0x48434f
fld1
fstp dword [esp + 0x18]
test al, al
je 0x4840b9
fild dword [esp + 0x24]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fild dword [esp + 0x14]
fstp dword [esp + 0xc]
fdiv dword [esp + 0xc]
fstp dword [esp + 0x18]
fild dword [esp + 0x14]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld dword [esp + 0x18]
fld st(0)
fmulp st(2)
fld qword [0x4130a8]
fadd st(2), st(0)
fxch st(2)
call sub.msvcrt.dll__ftol2_sse
mov dword [edi + 4], eax
fild dword [ebx + 0x98]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld st(1)
fmulp st(1)
fadd st(2)
call sub.msvcrt.dll__ftol2_sse
mov dword [edi + 0x10], eax
fild dword [ebx + 0x9c]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld st(1)
fmulp st(1)
fadd st(2)
call sub.msvcrt.dll__ftol2_sse
mov dword [edi + 0x14], eax
fild dword [ebx + 0xa0]
fstp dword [esp + 0xc]
fmul dword [esp + 0xc]
fadd st(1)
call sub.msvcrt.dll__ftol2_sse
mov ecx, dword [edi + 0x14]
mov edx, eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x10], ecx
add ecx, eax
add ecx, edx
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0xc]
mov dword [edi + 0x18], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc], eax
cmp ecx, eax
jle 0x4841c6
fild dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fild dword [esp + 0x24]
fstp dword [esp + 0xc]
fdiv dword [esp + 0xc]
fstp dword [esp + 0x18]
fild dword [esp + 0x1c]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld dword [esp + 0x18]
fld st(0)
fmulp st(2)
fxch st(1)
fadd st(2)
call sub.msvcrt.dll__ftol2_sse
fild dword [esp + 0x10]
mov dword [edi + 0x10], eax
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld st(1)
fmulp st(1)
fadd st(2)
call sub.msvcrt.dll__ftol2_sse
fild dword [edi + 0x18]
mov dword [edi + 0x14], eax
fstp dword [esp + 0xc]
fmul dword [esp + 0xc]
faddp st(1)
call sub.msvcrt.dll__ftol2_sse
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], 1
jmp 0x484220
sub eax, dword [edi + 0x10]
sub eax, edx
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld st(0)
fild dword [esp + 0x10]
fstp dword [esp + 0xc]
fdiv dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
call sub.msvcrt.dll__ftol2_sse
mov esi, eax
mov dword [esp + 0xc], esi
fild dword [esp + 0xc]
fstp dword [esp + 0xc]
fdiv dword [esp + 0xc]
faddp st(1)
call sub.msvcrt.dll__ftol2_sse
mov dword [edi + 0x1c], esi
lea esi, [ebx + 0x64]
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x10]
add eax, dword [edi + 0x18]
add eax, dword [edi + 0x14]
push 0x10
mov dword [edi], eax
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov dword [esp + 0xc], eax
test eax, eax
je 0x484258
mov ecx, esi
call fcn.00437bd6
mov ecx, dword [edi + 4]
add ecx, dword [esp + 0x20]
push eax
push ecx
push dword [edi]
mov ecx, dword [esp + 0x18]
call fcn.00437c00
jmp 0x48425a
xor eax, eax
push 8
mov dword [esp + 0x14], eax
mov dword [0x4a49e4], eax
call dword [sym.imp.gdiplus.dll_GdipAlloc]
test eax, eax
je 0x484282
push dword [esp + 0x10]
mov ecx, eax
call fcn.00437b9e
mov ecx, eax
mov dword [esp + 0x10], eax
jmp 0x484288
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x28]
and dword [esp + 0x3c], 0
push ecx
push ecx
push 0
push ecx
push dword [esp + 0x24]
mov dword [esp + 0x54], eax
push dword [ebx + 0x98]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 4]
push ecx
mov dword [esp + 0x64], eax
lea eax, [esp + 0x58]
push 0
push eax
push esi
call fcn.00437aa8
mov eax, dword [edi + 0x14]
mov esi, dword [edi + 0x10]
push ecx
push ecx
push 0
push ecx
push dword [esp + 0x24]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x50]
push dword [ebx + 0x9c]
mov dword [esp + 0x54], esi
push ecx
push dword [ebx + 0x98]
mov ecx, dword [esp + 0x30]
push eax
lea eax, [ebx + 0x64]
push eax
call fcn.00437aa8
mov eax, dword [edi + 0x18]
add esi, dword [edi + 0x14]
push ecx
push ecx
push 0
push ecx
push dword [esp + 0x24]
mov dword [esp + 0x58], eax
push dword [ebx + 0xa0]
mov eax, dword [ebx + 0x98]
add eax, dword [ebx + 0x9c]
push ecx
push eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], esi
push eax
lea eax, [ebx + 0x64]
mov ebx, dword [esp + 0x34]
push eax
mov ecx, ebx
call fcn.00437aa8
test ebx, ebx
je 0x484348
push dword [ebx]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push ebx
call dword [sym.imp.gdiplus.dll_GdipFree]
mov eax, dword [esp + 0x20]
add dword [edi + 4], eax
mov eax, dword [0x4a49e4]
mov dword [edi + 0x20], eax
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048e170
mov esp, ebp
pop ebp
ret 4