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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
cmp dword [ebx + 4], edi
je 0x445c89
cmp dword [ebx + 8], edi
je 0x445c89
push dword [ebp + 8]
lea esi, [esp + 0x30]
call fcn.00433224
mov esi, dword [ebx + 8]
test esi, esi
mov dword [esp + 0x24], edi
je 0x445ab0
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x445aa2
call fcn.00425f93
mov esi, dword [ebx + 8]
mov dword [esp + 0x24], eax
call fcn.00425f73
mov edi, eax
fld1
movzx eax, byte [ebp + 0x20]
fst dword [esp + 0x38]
mov dword [esp + 0x34], eax
fldz
and dword [esp + 0x1c], 0
fst dword [esp + 0x3c]
lea eax, [esp + 0x1c]
fst dword [esp + 0x40]
push eax
fst dword [esp + 0x48]
fst dword [esp + 0x4c]
fst dword [esp + 0x50]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fst dword [esp + 0x60]
fst dword [esp + 0x64]
fst dword [esp + 0x68]
fst dword [esp + 0x70]
fst dword [esp + 0x74]
fst dword [esp + 0x78]
fst dword [esp + 0x7c]
fst dword [esp + 0x80]
fxch st(1)
fst dword [esp + 0x54]
fst dword [esp + 0x6c]
fild dword [esp + 0x38]
fdiv qword [0x4ed5f8]
fstp dword [esp + 0x84]
fxch st(1)
fst dword [esp + 0x88]
fst dword [esp + 0x8c]
fst dword [esp + 0x90]
fst dword [esp + 0x94]
fstp dword [esp + 0x98]
fstp dword [esp + 0x9c]
call sub.gdiplus.dll_GdipCreateImageAttributes
mov dword [esp + 0x20], eax
push 1
lea eax, [esp + 0x3c]
push eax
lea esi, [esp + 0x24]
call fcn.0042808a
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x445c40
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x445bb0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov edi, dword [ebx + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x18]
sub eax, edx
push eax
push ecx
push dword [ebx + 0x18]
mov dword [esp + 0x20], ecx
push dword [ebx + 0x14]
mov dword [esp + 0x28], eax
mov ecx, esi
lea eax, [esp + 0x1c]
lea esi, [esp + 0x3c]
mov dword [esp + 0x20], edx
call fcn.0042ee4d
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov edx, eax
sub edx, esi
cmp dword [esp + 0x24], edx
jge 0x445bc4
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x1c]
mov edi, dword [ebp + 0x10]
add esi, ecx
mov dword [esp + 0xc], esi
mov esi, dword [ebx + 0x20]
sub eax, esi
sub eax, ecx
sub eax, dword [ebp + 0xc]
sub edx, esi
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
sub eax, edi
push eax
sub edx, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x14]
push edx
push dword [ebx + 0x18]
add eax, ecx
mov dword [esp + 0x1c], edi
mov edi, dword [ebx + 8]
push eax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x1c]
lea esi, [esp + 0x3c]
call fcn.0042ee4d
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x445c77
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
sub ecx, eax
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 0x18]
sub ecx, edx
push ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x28]
push eax
push dword [ebx + 0x18]
sub ecx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
push ecx
jmp 0x445c63
mov ecx, dword [ebp + 0xc]
imul eax, dword [ebp + 0x1c]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 0x10]
push edi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
push ecx
push 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edi
push eax
mov edi, dword [ebx + 8]
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x1c]
lea esi, [esp + 0x3c]
call fcn.0042ee4d
push dword [esp + 0x1c]
call sub.gdiplus.dll_GdipDisposeImageAttributes
push dword [esp + 0x2c]
call sub.gdiplus.dll_GdipDeleteGraphics
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c