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

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
mov esi, dword [esp + 0x7c]
push edi
mov edi, dword [esp + 0x84]
xor eax, eax
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
cmp esi, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
je 0x43c150
mov ebx, dword [esp + 0x78]
cmp ebx, eax
je 0x43c150
mov ebp, dword [esp + 0x7c]
cmp ebp, eax
je 0x43c150
cmp edi, eax
je 0x43c150
mov edx, dword [ebx + 4]
lea eax, [esp + 0x5c]
push eax
push 0x26200a
lea ecx, [esp + 0x3c]
push 1
push ecx
push edx
call sub.gdiplus.dll_GdipBitmapLockBits
test eax, eax
je 0x43bb3d
pop edi
pop esi
mov dword [ebx + 8], eax
pop ebp
pop ebx
add esp, 0x64
ret 0x14
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 4]
push 0x26200a
lea edx, [esp + 0x3c]
push 2
push edx
push eax
call sub.gdiplus.dll_GdipBitmapLockBits
test eax, eax
je 0x43bb6b
mov dword [ebp + 8], eax
jmp 0x43c137
mov ecx, dword [esp + 0x54]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x28], ecx
xor dl, dl
xor ecx, ecx
test eax, eax
mov dword [esp + 0x20], ecx
jle 0x43be3b
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x24]
imul eax, ecx
add eax, ebx
mov ebx, dword [esp + 0x4c]
imul ebx, ecx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x10], eax
add ebx, ebp
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], ebx
mov ebx, dword [edi + 0xc]
test ebx, ebx
jle 0x43be2b
mov ebx, dword [eax]
shr ebx, 0x18
cmp bl, 0x80
jb 0x43bcdc
test dl, dl
jne 0x43bcd5
test byte [esp + 0x88], 4
je 0x43bcd5
mov ebx, esi
neg ebx
cmp ebx, esi
jg 0x43bcd5
lea edx, [ebx + ecx]
mov dword [esp + 0x80], edx
cmp dword [esp + 0x88], 0xf
je 0x43bc07
test ebx, ebx
jne 0x43bcae
mov eax, ebx
cdq
mov ecx, eax
mov eax, esi
xor ecx, edx
sub ecx, edx
sub eax, ecx
mov ecx, 1
je 0x43bc1d
mov ecx, eax
mov eax, 0xff
xor edx, edx
div esi
imul eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x80]
test eax, eax
jl 0x43bcae
mov edx, eax
mov eax, dword [esp + 0x84]
cmp edx, dword [eax + 0x10]
jge 0x43bcae
mov ecx, ebx
mov edx, dword [esp + 0x18]
imul ecx, dword [esp + 0x4c]
mov eax, ebx
mov edi, esi
imul eax, dword [esp + 0x64]
lea ecx, [ecx + edx - 4]
mov edx, dword [esp + 0x10]
test esi, esi
lea ebp, [eax + edx - 4]
jle 0x43bcae
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x43bcae
test dword [ebp], 0xff000000
jne 0x43bc9a
mov eax, dword [esp + 0x2c]
xor edx, edx
div esi
mov edx, dword [ecx]
imul eax, edi
shl eax, 0x18
cmp eax, edx
jbe 0x43bc9a
mov dword [ecx], eax
mov edx, dword [esp + 0x14]
sub ecx, 4
sub ebp, 4
dec edi
dec edx
test edi, edi
mov dword [esp + 0x14], edx
jg 0x43bc73
mov ecx, dword [esp + 0x80]
inc ebx
inc ecx
cmp ebx, esi
mov dword [esp + 0x80], ecx
jle 0x43bbf5
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x10]
mov dl, 1
jmp 0x43be05
test dl, dl
je 0x43bdf4
test byte [esp + 0x88], 8
je 0x43bdf4
mov eax, esi
neg eax
cmp eax, esi
mov dword [esp + 0x80], eax
jg 0x43bdf4
mov ecx, dword [esp + 0x20]
lea edx, [eax + ecx]
mov dword [esp + 0x14], edx
jmp 0x43bd19
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x88], 0xf
je 0x43bd32
test eax, eax
jne 0x43bdd4
mov eax, dword [esp + 0x80]
cdq
mov ecx, eax
mov eax, esi
xor ecx, edx
sub ecx, edx
sub eax, ecx
mov ecx, 1
je 0x43bd46
mov ecx, eax
mov eax, 0xff
xor edx, edx
div esi
imul eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x43bdd4
mov edx, eax
mov eax, dword [esp + 0x84]
cmp edx, dword [eax + 0x10]
jge 0x43bdd4
mov ebp, dword [esp + 0x80]
mov edx, dword [esp + 0x18]
mov edi, ebp
imul ebp, dword [esp + 0x64]
imul edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x10]
add edi, edx
add ebp, ecx
xor ebx, ebx
test esi, esi
jbe 0x43bdd4
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x84]
lea edx, [ebx + ecx]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
jge 0x43bdd4
test dword [ebp], 0xff000000
jne 0x43bdc9
mov eax, dword [esp + 0x2c]
xor edx, edx
div esi
mov ecx, esi
sub ecx, ebx
imul ecx, eax
mov eax, dword [edi]
shl ecx, 0x18
cmp ecx, eax
jbe 0x43bdc9
mov dword [edi], ecx
add edi, 4
add ebp, 4
inc ebx
cmp ebx, esi
jb 0x43bd91
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
inc eax
inc edx
cmp eax, esi
mov dword [esp + 0x80], eax
mov dword [esp + 0x14], edx
jle 0x43bd12
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x10]
xor dl, dl
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
add ebp, 4
add eax, 4
mov dword [esp + 0x18], ebp
mov ebp, dword [edi + 0xc]
inc ebx
mov dword [esp + 0x10], eax
cmp ebx, ebp
mov dword [esp + 0x1c], ebx
jl 0x43bbbb
mov eax, dword [edi + 0x10]
inc ecx
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x43bb86
mov eax, dword [edi + 0xc]
xor dl, dl
test eax, eax
mov dword [esp + 0x10], 0
jle 0x43c11e
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x80], 0
test eax, eax
jle 0x43c103
mov eax, dword [esp + 0x80]
mov edi, dword [esp + 0x10]
mov ebx, eax
imul eax, dword [esp + 0x4c]
imul ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x24]
lea ecx, [edi*4]
add ebx, ecx
add eax, ecx
mov ecx, dword [esp + 0x28]
add ebx, ebp
add eax, ecx
mov ecx, dword [ebx]
mov dword [esp + 0x2c], eax
shr ecx, 0x18
cmp cl, 0x80
jb 0x43bfd7
test dl, dl
jne 0x43bfd0
test byte [esp + 0x88], 1
je 0x43bfd0
mov eax, esi
neg eax
cmp eax, esi
mov dword [esp + 0x20], eax
jg 0x43bfd0
lea edx, [eax*4]
lea ecx, [eax + edi]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
jmp 0x43beeb
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x88], 0xf
je 0x43bf05
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x43bfab
mov eax, dword [esp + 0x20]
cdq
mov ecx, eax
mov eax, esi
xor ecx, edx
sub ecx, edx
sub eax, ecx
mov ecx, 1
je 0x43bf19
mov ecx, eax
mov eax, 0xff
xor edx, edx
div esi
imul eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
test eax, eax
jl 0x43bfab
mov edx, eax
mov eax, dword [esp + 0x84]
cmp edx, dword [eax + 0xc]
jge 0x43bfab
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x64]
mov eax, dword [esp + 0x2c]
mov ecx, edi
sub edi, ebp
sub ecx, edx
add edi, ebx
add ecx, eax
mov ebp, esi
test esi, esi
jle 0x43bfab
mov edx, dword [esp + 0x80]
dec edx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x43bfab
test dword [edi], 0xff000000
jne 0x43bf91
mov eax, dword [esp + 0x30]
xor edx, edx
div esi
mov edx, dword [ecx]
imul eax, ebp
shl eax, 0x18
cmp eax, edx
jbe 0x43bf91
mov dword [ecx], eax
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x4c]
sub edi, edx
mov edx, dword [esp + 0x14]
sub ecx, eax
dec ebp
dec edx
test ebp, ebp
mov dword [esp + 0x14], edx
jg 0x43bf6b
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
inc eax
inc edi
add edx, 4
cmp eax, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edx
jle 0x43bee7
mov dl, 1
jmp 0x43c0e2
test dl, dl
je 0x43c0e0
test byte [esp + 0x88], 2
je 0x43c0e0
mov ecx, esi
neg ecx
cmp ecx, esi
mov dword [esp + 0x1c], ecx
jg 0x43c0e0
lea edx, [ecx + edi]
sub eax, ebx
mov dword [esp + 0x20], edx
lea edx, [ebx + ecx*4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], eax
cmp dword [esp + 0x88], 0xf
je 0x43c023
test ecx, ecx
jne 0x43c0bf
mov eax, ecx
cdq
mov edi, eax
mov eax, esi
xor edi, edx
sub edi, edx
sub eax, edi
mov edi, 1
je 0x43c039
mov edi, eax
mov eax, 0xff
xor edx, edx
div esi
imul eax, edi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
test eax, eax
jl 0x43c0bf
mov edx, dword [esp + 0x84]
cmp eax, dword [edx + 0xc]
jge 0x43c0bf
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
xor edi, edi
mov ebx, eax
test esi, esi
lea ebp, [edx + eax]
jbe 0x43c0bf
mov eax, dword [esp + 0x80]
lea edx, [edi + eax]
mov eax, dword [esp + 0x84]
cmp edx, dword [eax + 0x10]
jge 0x43c0bf
test dword [ebx], 0xff000000
jne 0x43c0aa
mov eax, dword [esp + 0x2c]
xor edx, edx
div esi
mov ecx, esi
sub ecx, edi
imul ecx, eax
mov eax, dword [ebp]
shl ecx, 0x18
cmp ecx, eax
jbe 0x43c0aa
mov dword [ebp], ecx
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x1c]
add ebp, eax
add ebx, edx
inc edi
cmp edi, esi
jb 0x43c070
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
inc ecx
inc edi
add edx, 4
cmp ecx, esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edx
jle 0x43c011
xor dl, dl
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
inc eax
mov edi, dword [ecx + 0x10]
mov dword [esp + 0x80], eax
cmp eax, edi
jl 0x43be6d
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x10]
inc eax
mov edi, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
cmp eax, edi
jl 0x43be57
mov esi, dword [esp + 0x7c]
lea edx, [esp + 0x44]
push edx
mov eax, dword [esi + 4]
push eax
call sub.gdiplus.dll_GdipBitmapUnlockBits
test eax, eax
je 0x43c137
mov dword [esi + 8], eax
mov esi, dword [esp + 0x78]
lea ecx, [esp + 0x5c]
push ecx
mov edx, dword [esi + 4]
push edx
call sub.gdiplus.dll_GdipBitmapUnlockBits
test eax, eax
je 0x43c150
mov dword [esi + 8], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x14