Function at 0x43b770
Capabilities:
Capture screenshot
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
push esi
mov esi, edx
mov edx, ecx
mov ecx, dword [ebp + 0x18]
movzx ebx, cl
shl ebx, 8
movzx eax, cx
shr eax, 8
or ebx, eax
mov dword [esp + 0x68], esi
mov eax, ecx
shl ebx, 8
shr eax, 0x10
movzx eax, al
or ebx, eax
mov dword [esp + 0x64], edx
cmp byte [ebp + 0x20], 0
push edi
jne 0x43b7c6
push 0
push 0xffffffffffffffff
push 0
mov ecx, edx
call fcn.00485870
push 0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.00485870
xorps xmm0, xmm0
lea edx, [esp + 0x74]
push 0
lea ecx, [esp + 0x74]
movlpd qword [esp + 0x74], xmm0
call fcn.004838a0
mov edi, dword [ebp + 8]
add esp, 4
mov edx, dword [esp + 0x70]
add edi, edx
add edx, dword [ebp + 0x10]
mov esi, edi
mov ecx, dword [ebp + 0xc]
add ecx, dword [esp + 0x74]
mov eax, dword [ebp + 0x14]
add eax, dword [esp + 0x74]
cmp edi, edx
mov dword [esp + 0x58], edx
cmovle esi, edx
mov dword [esp + 0x54], edi
cmovle edx, edi
mov dword [esp + 0x38], ecx
cmp ecx, eax
mov dword [esp + 0x34], edx
mov edi, ecx
mov dword [esp + 0x3c], eax
cmovle edi, eax
mov edx, eax
mov eax, dword [ebp + 0x1c]
cmovle edx, ecx
xor ecx, ecx
mov dword [esp + 0x50], edx
test eax, eax
cmovns ecx, eax
mov dword [esp + 0x44], ecx
cmp ecx, 0xff
jle 0x43b85c
mov eax, ebx
mov ecx, 0xff
shr eax, 8
mov dword [esp + 0x24], eax
mov eax, ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x14], ecx
shr eax, 0x10
jmp 0x43b884
mov dword [esp + 0x14], ecx
test ecx, ecx
jle 0x43b874
mov eax, ebx
shr eax, 8
mov dword [esp + 0x24], eax
mov eax, ebx
shr eax, 0x10
jmp 0x43b884
mov al, byte [esp + 0x13]
mov bl, byte [esp + 0x13]
mov dword [esp + 0x24], eax
mov al, byte [esp + 0x13]
push 0
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x43b8b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, dword [ebp + 0x24]
push edi
call fcn.00430f30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub esi, dword [esp + 0x34]
xor ecx, ecx
sub edi, dword [esp + 0x50]
inc esi
push eax
mov byte [esp + 0x14], 0
inc edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x43bcae
push edi
push esi
push dword [esp + 0x28]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x30], eax
test eax, eax
je 0x43bcae
push eax
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
test eax, eax
je 0x43bcae
push 0xcc0020
push dword [esp + 0x54]
push dword [esp + 0x3c]
push dword [esp + 0x2c]
push edi
push esi
mov esi, dword [esp + 0x44]
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x43bcae
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x11]
push 8
push eax
lea eax, [esp + 0x54]
mov edx, esi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0043b570
add esp, 0x10
mov dword [esp + 0x1c], eax
test eax, eax
je 0x43bcae
mov edi, dword [esp + 0x18]
mov edx, edi
imul edx, dword [esp + 0x4c]
cmp byte [esp + 0x11], 0
mov dword [esp + 0x4c], edx
je 0x43ba0e
xor esi, esi
test edx, edx
jle 0x43ba12
cmp edx, 0x10
jb 0x43ba00
mov eax, edx
and eax, reloc.WSOCK32.dll_ntohs
jns 0x43b99b
dec eax
or eax, 0xfffffff0
inc eax
movaps xmm2, xmmword [0x4dfc10]
mov ecx, edx
sub ecx, eax
mov eax, dword [esp + 0x1c]
add eax, 0x20
nop dword [eax]
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
add esi, 0x10
movaps xmm1, xmm2
pand xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x50]
pand xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x40]
pand xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x30]
pand xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp esi, ecx
jl 0x43b9b0
mov eax, dword [esp + 0x1c]
cmp esi, edx
jge 0x43ba12
nop
and dword [eax + esi*4], 0xf8f8f8f8
inc esi
cmp esi, edx
jl 0x43ba00
jmp 0x43ba12
mov esi, dword [esp + 0x48]
cmp byte [ebp + 0x20], 0
je 0x43ba4e
mov eax, dword [eax]
mov ebx, dword [ebp + 0x24]
and eax, 0xffffff
push eax
push str.0x_06X
push dword [ebx]
call fcn.004133c0
add esp, 0xc
mov dword [ebx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x20]
mov edi, eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x43bcf1
mov ecx, dword [esp + 0x44]
cmp ecx, 1
jge 0x43bb1f
cmp byte [esp + 0x11], 0
je 0x43ba69
and dword [ebp + 0x18], 0xf8f8f8f8
mov ebx, dword [esp + 0x18]
xor ecx, ecx
test edx, edx
jle 0x43baed
lea edi, [edx - 1]
mov edx, dword [ebp + 0x18]
nop dword [eax]
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x58]
mov eax, dword [esp + 0x38]
jle 0x43bab0
cmp eax, dword [esp + 0x3c]
jle 0x43ba98
mov esi, edi
jmp 0x43bace
mov eax, ecx
cdq
idiv ebx
lea esi, [eax + 1]
mov eax, ecx
cdq
idiv ebx
imul esi, ebx
sub esi, edx
mov edx, dword [ebp + 0x18]
dec esi
jmp 0x43bace
cmp eax, dword [esp + 0x3c]
jle 0x43bacc
mov eax, edi
cdq
idiv ebx
mov esi, eax
mov eax, ecx
cdq
idiv ebx
imul esi, ebx
add esi, edx
mov edx, dword [ebp + 0x18]
jmp 0x43bace
mov esi, ecx
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + esi*4]
and eax, 0xffffff
cmp eax, edx
je 0x43bae8
inc ecx
dec edi
cmp ecx, dword [esp + 0x4c]
jl 0x43ba80
jmp 0x43baed
mov byte [esp + 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x20]
mov edi, eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x40]
push ecx
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x43bd24
cmp byte [esp + 0x11], 0
mov eax, dword [esp + 0x24]
je 0x43bb39
and eax, 0xfffffff8
and bl, 0xf8
and dword [esp + 0x28], 0xfffffff8
mov dword [esp + 0x24], eax
movzx edx, bl
mov dword [esp + 0x5c], edx
cmp ecx, edx
jle 0x43bb4b
mov byte [esp + 0x11], 0
jmp 0x43bb57
mov dl, bl
mov byte [esp + 0x14], cl
sub dl, cl
mov byte [esp + 0x11], dl
movzx edx, al
sub al, byte [esp + 0x14]
cmp ecx, edx
mov dword [esp + 0x60], edx
movzx eax, al
mov dword [esp + 0x44], 0
mov edx, dword [esp + 0x44]
cmovle edx, eax
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], edx
movzx edx, al
sub al, byte [esp + 0x14]
cmp ecx, edx
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x48]
movzx eax, al
cmovle edx, eax
mov dword [esp + 0x48], edx
mov edx, 0xff
mov eax, edx
sub eax, dword [esp + 0x5c]
cmp ecx, eax
jle 0x43bbb6
mov byte [esp + 0x12], dl
jmp 0x43bbc0
mov al, byte [esp + 0x14]
add al, bl
mov byte [esp + 0x12], al
mov eax, edx
sub eax, dword [esp + 0x60]
cmp ecx, eax
jle 0x43bbd0
mov byte [esp + 0x13], dl
jmp 0x43bbde
mov bl, byte [esp + 0x14]
mov eax, dword [esp + 0x24]
add bl, al
mov byte [esp + 0x13], bl
sub edx, dword [esp + 0x64]
cmp ecx, edx
jle 0x43bbed
mov byte [esp + 0x14], 0xff
jmp 0x43bbf5
mov edx, dword [esp + 0x28]
add byte [esp + 0x14], dl
mov eax, dword [esp + 0x4c]
xor ecx, ecx
test eax, eax
jle 0x43bcb2
dec eax
mov dword [esp + 0x28], eax
nop dword [eax + eax]
mov edx, dword [esp + 0x54]
cmp edx, dword [esp + 0x58]
mov edx, dword [esp + 0x38]
jle 0x43bc3d
cmp edx, dword [esp + 0x3c]
jle 0x43bc28
mov esi, eax
jmp 0x43bc56
mov eax, ecx
cdq
idiv edi
lea esi, [eax + 1]
mov eax, ecx
cdq
idiv edi
imul esi, edi
sub esi, edx
dec esi
jmp 0x43bc56
cmp edx, dword [esp + 0x3c]
jle 0x43bc54
cdq
idiv edi
mov esi, eax
mov eax, ecx
cdq
idiv edi
imul esi, edi
add esi, edx
jmp 0x43bc56
mov esi, ecx
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax + esi*4]
mov edx, ebx
mov eax, ebx
shr edx, 0x10
shr eax, 8
cmp dl, byte [esp + 0x11]
jb 0x43bc8b
cmp dl, byte [esp + 0x12]
ja 0x43bc8b
cmp al, byte [esp + 0x44]
jb 0x43bc8b
cmp al, byte [esp + 0x13]
ja 0x43bc8b
cmp bl, byte [esp + 0x48]
jb 0x43bc8b
cmp bl, byte [esp + 0x14]
jbe 0x43bca4
mov eax, dword [esp + 0x28]
inc ecx
dec eax
mov dword [esp + 0x28], eax
cmp ecx, dword [esp + 0x4c]
jl 0x43bc10
jmp 0x43ba35
mov byte [esp + 0x10], 1
jmp 0x43ba35
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x40], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x20]
mov edi, eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [esp + 0x2c], 0
je 0x43bd20
mov al, byte [esp + 0x10]
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x43bd10
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x18]
push ecx
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x43bd24
push dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x43bd24
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x43bd33
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43b8a0
push eax
call fcn.0049f86f
add esp, 4
cmp byte [ebp + 0x20], 0
jne 0x43b8a9
mov al, byte [esp + 0x10]
test al, al
je 0x43bd96
mov eax, esi
mov ecx, dword [esp + 0x68]
cdq
idiv ebx
push 0x11
sub edx, dword [esp + 0x74]
add edx, dword [esp + 0x38]
mov eax, edx
cdq
push edx
push eax
call fcn.00485ba0
mov eax, esi
mov ecx, dword [esp + 0x6c]
cdq
idiv ebx
push 0x11
sub eax, dword [esp + 0x78]
add eax, dword [esp + 0x54]
cdq
push edx
push eax
call fcn.00485ba0
mov al, byte [esp + 0x10]
mov ecx, dword [ebp + 0x24]
pop edi
movzx eax, al
cdq
pop esi
mov dword [ecx], eax
mov dword [ecx + 4], edx
pop ebx
mov esp, ebp
pop ebp
ret