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

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, dword [esp + 0x44]
test esi, esi
push edi
mov dword [esp + 0x14], ecx
je 0x4523a8
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x451a1d
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
mov eax, dword [esp + 0x50]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x24
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x24], 0
mov ebx, dword [edi + 8]
mov ebp, dword [edi]
mov eax, dword [edi + 0xc]
mov esi, dword [edi + 4]
sub ebx, ebp
mov ebp, dword [ecx + 8]
sub eax, esi
mov esi, dword [ecx + 4]
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], ebx
push ecx
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], ebp
call sub.gdiplus.dll_GdipCreateFromHDC
test eax, eax
je 0x451a75
mov eax, dword [esp + 0x24]
push eax
call sub.gdiplus.dll_GdipDeleteGraphics
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x24
mov eax, dword [0x5c63f4]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [0x5c63f0]
mov dword [esp + 0x18], edx
neg eax
sbb eax, eax
and eax, ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x451aa7
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x24]
xor ecx, ecx
cmp eax, ecx
jne 0x451b1b
mov eax, dword [esp + 0x14]
cmp edi, ecx
mov eax, dword [eax + 0x14]
je 0x4523a2
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x451ad0
mov ecx, dword [ecx]
jmp 0x451ad2
xor ecx, ecx
test eax, eax
je 0x451adb
mov eax, dword [eax + 4]
jmp 0x451add
xor eax, eax
mov edx, dword [esp + 0x58]
push 0
push 0
push ecx
mov ecx, dword [esp + 0x1c]
push 2
push ecx
push ebx
push edx
mov edx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x3c]
push ebx
push ecx
push edx
push eax
push edi
call sub.gdiplus.dll_GdipDrawImageRectRectI
push edi
mov dword [esp + 0x50], eax
call sub.gdiplus.dll_GdipDeleteGraphics
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x24
cmp eax, 1
jne 0x451bb0
mov edx, dword [esp + 0x5c]
cmp edx, ecx
jne 0x451b35
cmp ebx, esi
lea edx, [esi - 1]
jne 0x451b35
mov edx, esi
mov esi, dword [esp + 0x60]
cmp esi, ecx
jne 0x451b4a
mov eax, dword [esp + 0x10]
lea esi, [ebp - 1]
cmp eax, ebp
jne 0x451b4a
mov esi, ebp
mov eax, dword [esp + 0x14]
cmp edi, ecx
mov eax, dword [eax + 0x14]
je 0x4523a2
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x451b65
mov ecx, dword [ecx]
jmp 0x451b67
xor ecx, ecx
test eax, eax
je 0x451b70
mov eax, dword [eax + 4]
jmp 0x451b72
xor eax, eax
push 0
push 0
push ecx
mov ecx, dword [esp + 0x64]
push 2
push esi
push edx
mov edx, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x44]
push ebx
push edx
push ecx
push eax
push edi
call sub.gdiplus.dll_GdipDrawImageRectRectI
push edi
mov dword [esp + 0x50], eax
call sub.gdiplus.dll_GdipDeleteGraphics
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x24
cmp eax, 2
jne 0x451cee
mov eax, dword [esp + 0x5c]
cmp eax, ecx
jle 0x451bc7
mov esi, eax
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x60]
cmp eax, ecx
jle 0x451bd5
mov ebp, eax
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x10]
xor edx, edx
cmp eax, ecx
mov dword [esp + 0x5c], edx
jle 0x4523a2
mov ecx, ebp
mov dword [esp + 0x68], eax
neg ecx
mov dword [esp + 0x34], ecx
xor ecx, ecx
test ebx, ebx
jle 0x451cbe
mov eax, esi
add edx, ebp
neg eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x60], ebx
lea eax, [ecx + esi]
mov edx, ebp
cmp eax, ebx
mov dword [esp + 0x20], eax
jle 0x451c20
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x50]
cmp ebp, eax
jle 0x451c30
mov edx, dword [esp + 0x68]
mov ebp, dword [esp + 0x4c]
mov eax, dword [ebp]
add eax, ecx
mov ecx, dword [esp + 0x5c]
add ecx, dword [ebp + 4]
mov ebp, dword [esp + 0x14]
test edi, edi
mov ebp, dword [ebp + 0x14]
mov dword [esp + 0x24], ebp
je 0x451c98
mov ebx, dword [esp + 0x48]
test ebx, ebx
je 0x451c5b
mov ebp, dword [ebx]
jmp 0x451c5d
xor ebp, ebp
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x451c6a
mov ebx, dword [ebx + 4]
jmp 0x451c6c
xor ebx, ebx
push 0
push 0
push ebp
mov ebp, dword [esp + 0x64]
push 2
push edx
push esi
push ebp
mov ebp, dword [esp + 0x70]
push ebp
push edx
push esi
push ecx
push eax
push ebx
push edi
call sub.gdiplus.dll_GdipDrawImageRectRectI
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x24], eax
jmp 0x451c9c
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x60]
mov ecx, dword [esp + 0x20]
add ebp, edx
mov dword [esp + 0x60], ebp
mov ebp, dword [esp + 0x1c]
cmp ecx, ebx
jl 0x451c0f
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x68]
add ecx, eax
mov eax, dword [esp + 0x10]
add edx, ebp
mov dword [esp + 0x68], ecx
cmp edx, eax
mov dword [esp + 0x5c], edx
jl 0x451bf3
push edi
call sub.gdiplus.dll_GdipDeleteGraphics
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x24
cmp eax, 3
jne 0x451e09
mov eax, 0xaaaaaaab
mov ecx, dword [esp + 0x14]
mul esi
mov eax, dword [ecx + 0x14]
mov esi, edx
shr esi, 1
test edi, edi
je 0x451d4e
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x451d19
mov ecx, dword [ecx]
jmp 0x451d1b
xor ecx, ecx
test eax, eax
je 0x451d24
mov eax, dword [eax + 4]
jmp 0x451d26
xor eax, eax
mov edx, dword [esp + 0x10]
push 0
push 0
push ecx
mov ecx, dword [esp + 0x24]
push 2
push ebp
push esi
push 0
push 0
push edx
mov edx, dword [esp + 0x44]
push esi
push ecx
push edx
push eax
push edi
call sub.gdiplus.dll_GdipDrawImageRectRectI
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 8]
mov ecx, dword [ecx + 0x14]
sub eax, esi
test edi, edi
je 0x451da1
mov edx, dword [esp + 0x48]
test edx, edx
je 0x451d6e
mov edx, dword [edx]
jmp 0x451d70
xor edx, edx
test ecx, ecx
je 0x451d79
mov ecx, dword [ecx + 4]
jmp 0x451d7b
xor ecx, ecx
push 0
push 0
push edx
push 2
push ebp
push esi
lea edx, [esi + esi]
push 0
push edx
mov edx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x3c]
push esi
push edx
push eax
push ecx
push edi
call sub.gdiplus.dll_GdipDrawImageRectRectI
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
lea ecx, [esi + esi]
mov eax, dword [eax]
sub ebx, ecx
mov ecx, dword [edx + 0x14]
add eax, esi
test edi, edi
je 0x4523a2
mov edx, dword [esp + 0x48]
test edx, edx
je 0x451dc9
mov edx, dword [edx]
jmp 0x451dcb
xor edx, edx
test ecx, ecx
je 0x451dd4
mov ecx, dword [ecx + 4]
jmp 0x451dd6
xor ecx, ecx
push 0
push 0
push edx
mov edx, dword [esp + 0x1c]
push 2
push ebp
push esi
push 0
push esi
push edx
mov edx, dword [esp + 0x3c]
push ebx
push edx
push eax
push ecx
push edi
call sub.gdiplus.dll_GdipDrawImageRectRectI
push edi
mov dword [esp + 0x50], eax
call sub.gdiplus.dll_GdipDeleteGraphics
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x24
cmp eax, 4
jne 0x451f53
mov eax, 0xaaaaaaab
mov ecx, dword [esp + 0x20]
mul esi
mov esi, edx
mov eax, ebx
shr esi, 1
sub eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
mov edx, dword [edx + 0x14]
add ecx, eax
test edi, edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], edx
je 0x451e83
mov eax, dword [esp + 0x48]
test eax, eax
je 0x451e4b
mov edx, dword [eax]
jmp 0x451e4d
xor edx, edx
mov eax, dword [esp + 0x60]
test eax, eax
je 0x451e5a
mov eax, dword [eax + 4]
jmp 0x451e5c
xor eax, eax
push 0
push 0
push edx
mov edx, dword [esp + 0x1c]
push 2
push ebp
push esi
push 0
push esi
push edx
mov edx, dword [esp + 0x3c]
push esi
push edx
push ecx
push eax
push edi
call sub.gdiplus.dll_GdipDrawImageRectRectI
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
test edi, edi
mov edx, dword [ecx]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x60], ecx
je 0x451ee4
mov eax, dword [esp + 0x48]
test eax, eax
je 0x451ea4
mov ecx, dword [eax]
jmp 0x451ea6
xor ecx, ecx
mov eax, dword [esp + 0x60]
test eax, eax
je 0x451eb3
mov eax, dword [eax + 4]
jmp 0x451eb5
xor eax, eax
push 0
push 0
push ecx
push 2
lea ecx, [esi - 1]
push ebp
push ecx
mov ecx, dword [esp + 0x28]
push 0
push 0
push ecx
mov ecx, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x40]
push ecx
push edx
push eax
push edi
call sub.gdiplus.dll_GdipDrawImageRectRectI
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
sub ebx, eax
sub ebx, esi
mov ecx, dword [edx]
add ecx, eax
mov eax, dword [esp + 0x14]
add ecx, esi
mov eax, dword [eax + 0x14]
test edi, edi
je 0x4523a2
mov edx, dword [esp + 0x48]
test edx, edx
je 0x451f0d
mov edx, dword [edx]
jmp 0x451f0f
xor edx, edx
test eax, eax
je 0x451f18
mov eax, dword [eax + 4]
jmp 0x451f1a
xor eax, eax
push 0
push 0
push edx
push 2
lea edx, [esi - 1]
push ebp
push edx
lea edx, [esi + esi]
push 0
push edx
mov edx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x3c]
push ebx
push edx
push ecx
push eax
push edi
call sub.gdiplus.dll_GdipDrawImageRectRectI
push edi
mov dword [esp + 0x50], eax
call sub.gdiplus.dll_GdipDeleteGraphics
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x24
cmp eax, 5
jne 0x45214c
mov eax, 0xaaaaaaab
mov dword [esp + 0x5c], ebp
mul esi
mov esi, edx
mov edx, dword [esp + 0x10]
shr esi, 1
xor eax, eax
test edx, edx
mov dword [esp + 0x24], eax
jle 0x4523a2
mov ecx, ebp
sub ebx, esi
neg ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x60], edx
jmp 0x451f95
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
mov ebx, eax
add eax, ebp
mov ebp, dword [esp + 0x10]
add ebx, dword [ecx + 4]
mov edx, dword [ecx]
cmp eax, ebp
mov dword [esp + 0x28], eax
jle 0x451fb8
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x5c], ebp
jmp 0x451fbc
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x14]
test edi, edi
mov eax, dword [eax + 0x14]
je 0x452000
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x451fd3
mov ecx, dword [ecx]
jmp 0x451fd5
xor ecx, ecx
test eax, eax
je 0x451fde
mov eax, dword [eax + 4]
jmp 0x451fe0
xor eax, eax
push 0
push 0
push ecx
push 2
push ebp
push esi
push 0
push 0
push ebp
push esi
push ebx
push edx
push eax
push edi
call sub.gdiplus.dll_GdipDrawImageRectRectI
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x14]
sub eax, esi
mov ecx, dword [ecx + 0x14]
test edi, edi
je 0x452047
mov edx, dword [esp + 0x48]
test edx, edx
je 0x45201c
mov edx, dword [edx]
jmp 0x45201e
xor edx, edx
test ecx, ecx
je 0x452027
mov ecx, dword [ecx + 4]
jmp 0x452029
xor ecx, ecx
push 0
push 0
push edx
push 2
push ebp
push esi
lea edx, [esi + esi]
push 0
push edx
push ebp
push esi
push ebx
push eax
push ecx
push edi
call sub.gdiplus.dll_GdipDrawImageRectRectI
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]
mov ecx, esi
cmp esi, eax
jge 0x45211a
mov eax, esi
mov ebp, dword [esp + 0x54]
neg eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x54]
sub eax, esi
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x1c]
lea eax, [ecx + esi]
cmp eax, ebp
mov ebx, esi
mov dword [esp + 0x34], eax
jle 0x452080
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x28]
cmp ebp, eax
jle 0x452090
mov edx, dword [esp + 0x60]
mov ebp, dword [esp + 0x4c]
mov eax, dword [ebp]
add eax, ecx
mov ecx, dword [esp + 0x24]
add ecx, dword [ebp + 4]
test edi, edi
je 0x4520fc
mov ebp, dword [esp + 0x48]
test ebp, ebp
je 0x4520b5
mov ebp, dword [ebp]
mov dword [esp + 0x68], ebp
jmp 0x4520bd
mov dword [esp + 0x68], 0
mov ebp, dword [esp + 0x14]
mov ebp, dword [ebp + 0x14]
test ebp, ebp
je 0x4520d1
mov ebp, dword [ebp + 4]
mov dword [esp + 0x50], ebp
jmp 0x4520d9
mov dword [esp + 0x50], 0
mov ebp, dword [esp + 0x68]
push 0
push 0
push ebp
push 2
push edx
push ebx
push 0
push esi
push edx
push ebx
push ecx
mov ecx, dword [esp + 0x7c]
push eax
push ecx
push edi
call sub.gdiplus.dll_GdipDrawImageRectRectI
mov dword [esp + 0x68], eax
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x58]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x54]
add ebx, edx
cmp ecx, ebp
mov dword [esp + 0x58], ebx
jl 0x45206b
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x28]
add edx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
cmp eax, ecx
mov dword [esp + 0x60], edx
jl 0x451f91
push edi
call sub.gdiplus.dll_GdipDeleteGraphics
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x24
cmp eax, 6
jne 0x452258
cmp ebp, dword [esp + 0x10]
ja 0x452169
cmp esi, ebx
ja 0x452169
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], esi
jmp 0x4521c0
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ecx
fild qword [esp + 0x34]
fild dword [esp + 0x10]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ecx
fdiv st(1)
fild qword [esp + 0x34]
fst qword [esp + 0x28]
fidivr dword [esp + 0x30]
fst qword [esp + 0x34]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x4521a2
fstp st(0)
fld qword [esp + 0x34]
fxch st(1)
fmul st(1)
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x28]
fmul st(1)
mov dword [esp + 0x40], eax
call sub.MSVCRT.dll__ftol
fstp st(0)
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x3c]
mov eax, ebx
sub eax, edx
mov ecx, dword [esp + 0x40]
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
mov ebx, eax
mov eax, dword [esp + 0x10]
sar ebx, 1
sub eax, ecx
add ebx, edx
mov ecx, dword [esp + 0x18]
push 7
cdq
sub eax, edx
push edi
mov ebp, eax
sar ebp, 1
add ebp, ecx
call sub.gdiplus.dll_GdipSetInterpolationMode
mov edx, dword [esp + 0x14]
mov dword [esp + 0x4c], eax
test edi, edi
mov eax, dword [edx + 0x14]
je 0x4523a2
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x452213
mov ecx, dword [ecx]
jmp 0x452215
xor ecx, ecx
test eax, eax
je 0x45221e
mov eax, dword [eax + 4]
jmp 0x452220
xor eax, eax
mov edx, dword [esp + 0x40]
push 0
push 0
push ecx
mov ecx, dword [esp + 0x28]
push 2
push ecx
mov ecx, dword [esp + 0x50]
push esi
push 0
push 0
push edx
push ecx
push ebp
push ebx
push eax
push edi
call sub.gdiplus.dll_GdipDrawImageRectRectI
push edi
mov dword [esp + 0x50], eax
call sub.gdiplus.dll_GdipDeleteGraphics
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x24
cmp eax, 7
jne 0x4523a2
mov eax, 0xaaaaaaab
mul dword [esp + 0x5c]
mov esi, edx
shr esi, 1
test ebx, ebx
jne 0x452286
mov edx, dword [esp + 0x24]
push edx
call sub.gdiplus.dll_GdipDeleteGraphics
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x24
cmp esi, ebx
mov edx, esi
jle 0x45228e
mov edx, ebx
mov eax, dword [esp + 0x14]
test edi, edi
mov eax, dword [eax + 0x14]
je 0x4522e3
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x4522a5
mov ecx, dword [ecx]
jmp 0x4522a7
xor ecx, ecx
test eax, eax
je 0x4522b0
mov eax, dword [eax + 4]
jmp 0x4522b2
xor eax, eax
push 0
push 0
push ecx
mov ecx, dword [esp + 0x6c]
push 2
mov ebp, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x68]
push esi
push 0
push ecx
mov ecx, dword [esp + 0x30]
push ecx
push edx
mov edx, dword [esp + 0x48]
push ebp
push edx
push eax
push edi
call sub.gdiplus.dll_GdipDrawImageRectRectI
mov dword [esp + 0x58], eax
jmp 0x4522e7
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
mov ecx, dword [edx + 8]
mov eax, dword [edx]
sub ecx, esi
cmp ecx, eax
jle 0x452348
mov eax, dword [esp + 0x14]
test edi, edi
mov eax, dword [eax + 0x14]
je 0x452348
mov edx, dword [esp + 0x48]
test edx, edx
je 0x45230d
mov edx, dword [edx]
jmp 0x45230f
xor edx, edx
test eax, eax
je 0x452318
mov eax, dword [eax + 4]
jmp 0x45231a
xor eax, eax
push 0
push 0
push edx
mov edx, dword [esp + 0x6c]
push 2
push edx
mov edx, dword [esp + 0x68]
push esi
push 0
lea edx, [edx + esi*2]
push edx
mov edx, dword [esp + 0x30]
push edx
push esi
push ebp
push ecx
push eax
push edi
call sub.gdiplus.dll_GdipDrawImageRectRectI
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x58], eax
mov eax, dword [edx]
lea ecx, [esi + esi]
sub ebx, ecx
add eax, esi
test ebx, ebx
jle 0x4523a2
mov edx, dword [esp + 0x14]
test edi, edi
mov ecx, dword [edx + 0x14]
je 0x4523a2
mov edx, dword [esp + 0x48]
test edx, edx
je 0x45236c
mov edx, dword [edx]
jmp 0x45236e
xor edx, edx
test ecx, ecx
je 0x452377
mov ecx, dword [ecx + 4]
jmp 0x452379
xor ecx, ecx
push 0
push 0
push edx
mov edx, dword [esp + 0x6c]
push 2
push edx
mov edx, dword [esp + 0x68]
push esi
add esi, edx
mov edx, dword [esp + 0x28]
push 0
push esi
push edx
push ebx
push ebp
push eax
push ecx
push edi
call sub.gdiplus.dll_GdipDrawImageRectRectI
mov dword [esp + 0x4c], eax
push edi
call sub.gdiplus.dll_GdipDeleteGraphics
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x24