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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x55306c]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 0xc], eax
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, dword [ebx + 8]
mov dword [esp + 0x18], ebx
test esi, esi
je 0x426e1d
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x426cdf
mov dword [esi + 8], eax
mov esi, dword [ebx + 8]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x426cff
mov dword [esi + 8], eax
xorps xmm0, xmm0
movups xmmword [esp + 0x4c], xmm0
test edi, edi
jne 0x426d21
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x54], edx
jmp 0x426d5f
push edi
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [esp + 0x54]
mov eax, edx
mov ebx, dword [esp + 0x4c]
sub eax, ebx
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jle 0x426d48
lea edx, [ecx + ebx]
mov dword [esp + 0x54], edx
mov esi, dword [esp + 0x58]
mov eax, esi
mov edi, dword [esp + 0x50]
sub eax, edi
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jle 0x426d63
lea esi, [ecx + edi]
mov dword [esp + 0x58], esi
cmp dword [esp + 0x14], 0
je 0x426e1d
mov ecx, dword [ebp + 0x10]
sub edx, ebx
mov ebx, dword [esp + 0x14]
sub esi, edi
mov eax, dword [ebp + 0xc]
add esi, ecx
mov dword [esp + 0x60], ecx
add edx, eax
push 0
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], eax
mov eax, dword [ebx]
xorps xmm0, xmm0
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x6c], edx
push ecx
push ebx
mov dword [esp + 0x78], esi
movlpd qword [esp + 0x2c], xmm0
call dword [eax + 0x34]
test eax, eax
js 0x426e1d
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
sub eax, ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
sub eax, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], edx
mov esi, dword [eax + 8]
lea eax, [esp + 0x24]
push eax
push 0x26200a
push 1
lea eax, [esp + 0x48]
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipBitmapLockBits]
test eax, eax
je 0x426e31
mov dword [esi + 8], eax
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 8]
lea eax, [esp + 0x24]
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipBitmapUnlockBits]
test eax, eax
je 0x426e17
mov dword [esi + 8], eax
mov eax, dword [ebx]
push ebx
call dword [eax + 0x38]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c1e08
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x24], eax
jne 0x426e79
mov eax, edi
sub eax, dword [esp + 0x60]
cmp dword [esp + 0x28], eax
jne 0x426e79
cmp ecx, edx
jne 0x426e79
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
imul eax, edx
push eax
push dword [esp + 0x38]
push dword [esp + 0x28]
call fcn.004d97d0
add esp, 0xc
jmp 0x426dfb
sub edi, dword [esp + 0x60]
xor esi, esi
test edi, edi
jle 0x426dfb
mov eax, esi
imul eax, ecx
push ecx
add eax, dword [esp + 0x38]
push eax
mov eax, esi
imul eax, edx
add eax, dword [esp + 0x28]
push eax
call fcn.004d97d0
mov eax, dword [esp + 0x74]
inc esi
sub eax, dword [esp + 0x6c]
add esp, 0xc
cmp esi, eax
jge 0x426dfb
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
jmp 0x426e87