Function at 0x448ee0
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 0x449570
mov ebx, dword [esp + 0x78]
cmp ebx, eax
je 0x449570
mov ebp, dword [esp + 0x7c]
cmp ebp, eax
je 0x449570
cmp edi, eax
je 0x449570
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 0x448f5d
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 0x448f8b
mov dword [ebp + 8], eax
jmp 0x449557
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 0x44925b
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 0x44924b
mov ebx, dword [eax]
shr ebx, 0x18
cmp bl, 0x80
jb 0x4490fc
test dl, dl
jne 0x4490f5
test byte [esp + 0x88], 4
je 0x4490f5
mov ebx, esi
neg ebx
cmp ebx, esi
jg 0x4490f5
lea edx, [ebx + ecx]
mov dword [esp + 0x80], edx
cmp dword [esp + 0x88], 0xf
je 0x449027
test ebx, ebx
jne 0x4490ce
mov eax, ebx
cdq
mov ecx, eax
mov eax, esi
xor ecx, edx
sub ecx, edx
sub eax, ecx
mov ecx, 1
je 0x44903d
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 0x4490ce
mov edx, eax
mov eax, dword [esp + 0x84]
cmp edx, dword [eax + 0x10]
jge 0x4490ce
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 0x4490ce
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x4490ce
test dword [ebp], 0xff000000
jne 0x4490ba
mov eax, dword [esp + 0x2c]
xor edx, edx
div esi
mov edx, dword [ecx]
imul eax, edi
shl eax, 0x18
cmp eax, edx
jbe 0x4490ba
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 0x449093
mov ecx, dword [esp + 0x80]
inc ebx
inc ecx
cmp ebx, esi
mov dword [esp + 0x80], ecx
jle 0x449015
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x10]
mov dl, 1
jmp 0x449225
test dl, dl
je 0x449214
test byte [esp + 0x88], 8
je 0x449214
mov eax, esi
neg eax
cmp eax, esi
mov dword [esp + 0x80], eax
jg 0x449214
mov ecx, dword [esp + 0x20]
lea edx, [eax + ecx]
mov dword [esp + 0x14], edx
jmp 0x449139
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x88], 0xf
je 0x449152
test eax, eax
jne 0x4491f4
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 0x449166
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 0x4491f4
mov edx, eax
mov eax, dword [esp + 0x84]
cmp edx, dword [eax + 0x10]
jge 0x4491f4
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 0x4491f4
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x84]
lea edx, [ebx + ecx]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
jge 0x4491f4
test dword [ebp], 0xff000000
jne 0x4491e9
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 0x4491e9
mov dword [edi], ecx
add edi, 4
add ebp, 4
inc ebx
cmp ebx, esi
jb 0x4491b1
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 0x449132
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 0x448fdb
mov eax, dword [edi + 0x10]
inc ecx
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x448fa6
mov eax, dword [edi + 0xc]
xor dl, dl
test eax, eax
mov dword [esp + 0x10], 0
jle 0x44953e
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x80], 0
test eax, eax
jle 0x449523
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 0x4493f7
test dl, dl
jne 0x4493f0
test byte [esp + 0x88], 1
je 0x4493f0
mov eax, esi
neg eax
cmp eax, esi
mov dword [esp + 0x20], eax
jg 0x4493f0
lea edx, [eax*4]
lea ecx, [eax + edi]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
jmp 0x44930b
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x88], 0xf
je 0x449325
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4493cb
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 0x449339
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 0x4493cb
mov edx, eax
mov eax, dword [esp + 0x84]
cmp edx, dword [eax + 0xc]
jge 0x4493cb
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 0x4493cb
mov edx, dword [esp + 0x80]
dec edx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x4493cb
test dword [edi], 0xff000000
jne 0x4493b1
mov eax, dword [esp + 0x30]
xor edx, edx
div esi
mov edx, dword [ecx]
imul eax, ebp
shl eax, 0x18
cmp eax, edx
jbe 0x4493b1
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 0x44938b
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 0x449307
mov dl, 1
jmp 0x449502
test dl, dl
je 0x449500
test byte [esp + 0x88], 2
je 0x449500
mov ecx, esi
neg ecx
cmp ecx, esi
mov dword [esp + 0x1c], ecx
jg 0x449500
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 0x449443
test ecx, ecx
jne 0x4494df
mov eax, ecx
cdq
mov edi, eax
mov eax, esi
xor edi, edx
sub edi, edx
sub eax, edi
mov edi, 1
je 0x449459
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 0x4494df
mov edx, dword [esp + 0x84]
cmp eax, dword [edx + 0xc]
jge 0x4494df
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
xor edi, edi
mov ebx, eax
test esi, esi
lea ebp, [edx + eax]
jbe 0x4494df
mov eax, dword [esp + 0x80]
lea edx, [edi + eax]
mov eax, dword [esp + 0x84]
cmp edx, dword [eax + 0x10]
jge 0x4494df
test dword [ebx], 0xff000000
jne 0x4494ca
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 0x4494ca
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 0x449490
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 0x449431
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 0x44928d
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 0x449277
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 0x449557
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 0x449570
mov dword [esi + 8], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x14