Function at 0x4437c0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
push ebx
mov ebx, dword [ebp + 0x20]
push esi
push edi
xor edi, edi
cmp byte [ebp + 0x24], 0
mov esi, eax
jne 0x4437f1
mov eax, str.Fast
mov ecx, esi
call fcn.0047f5a0
mov byte [esp + 0x15], 0
test eax, eax
je 0x4437f6
mov byte [esp + 0x15], 1
mov eax, 0x4bb618
mov ecx, esi
call fcn.0047f5a0
test eax, eax
setne al
mov byte [esp + 0x18], al
test al, al
je 0x443836
mov eax, dword [ebp + 0x1c]
mov ecx, eax
shr ecx, 8
movzx edx, cl
movzx ecx, al
mov dword [esp + 0x24], eax
shl ecx, 8
shr eax, 0x10
or edx, ecx
movzx eax, al
shl edx, 8
or edx, eax
mov dword [ebp + 0x1c], edx
jmp 0x443858
mov ecx, dword [ebp + 0x1c]
mov edx, ecx
shr edx, 8
movzx eax, dl
movzx edx, cl
shl edx, 8
shr ecx, 0x10
or eax, edx
movzx ecx, cl
shl eax, 8
or eax, ecx
mov dword [esp + 0x24], eax
cmp byte [ebp + 0x24], 0
mov ecx, dword [0x4d85e0]
mov dword [esp + 0x50], ecx
je 0x44386c
xor esi, esi
jmp 0x44387c
mov eax, dword [ebp + 8]
mov dl, 1
cmp dl, byte [eax + 1]
sbb esi, esi
and esi, dword [0x4d85e4]
mov dword [esp + 0x4c], esi
cmp ecx, edi
je 0x443889
call fcn.0041a0e0
cmp esi, edi
je 0x443894
mov ecx, esi
call fcn.0041a0e0
mov ecx, dword [0x4d4b04]
movzx esi, word [ecx + 0xf0]
and esi, 3
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
cmp esi, 2
je 0x44390c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [esp + 0x28], eax
test eax, eax
je 0x44390c
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x44390c
cmp esi, eax
jne 0x4438e0
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x58]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x4438f8
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x28]
push edx
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x44390c
add edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
add dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edi
mov esi, dword [esp + 0x2c]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x30]
add eax, esi
add edi, esi
mov esi, dword [ebp + 0x18]
add ecx, edx
add esi, edx
cmp eax, edi
setg byte [esp + 0x1a]
cmp ecx, esi
setg byte [esp + 0x19]
cmp byte [esp + 0x1a], 0
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0x14], edi
mov dword [ebp + 0x18], esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], ecx
je 0x443957
mov dword [esp + 0x48], edi
mov edi, eax
cmp byte [esp + 0x19], 0
je 0x443964
mov dword [esp + 0x28], esi
mov esi, ecx
test ebx, ebx
jns 0x44396f
xor ebx, ebx
mov dword [ebp + 0x20], ebx
jmp 0x44399c
cmp ebx, 0xff
jle 0x443981
mov ebx, 0xff
mov dword [ebp + 0x20], ebx
jmp 0x443985
test ebx, ebx
jle 0x44399c
mov eax, dword [ebp + 0x1c]
mov edx, eax
shr edx, 8
mov byte [esp + 0x14], al
shr eax, 0x10
mov byte [esp + 0x13], dl
mov byte [esp + 0x16], al
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x34], eax
test eax, eax
je 0x443dad
cmp byte [esp + 0x15], 0
mov byte [esp + 0x17], 0
je 0x443de5
sub edi, dword [esp + 0x48]
sub esi, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x34]
push eax
inc edi
inc esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
mov dword [esp + 0x58], ebx
test ebx, ebx
je 0x443cd4
mov ecx, dword [esp + 0x34]
push esi
push edi
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x40], eax
test eax, eax
je 0x443cd4
mov edx, eax
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x44], eax
test eax, eax
je 0x443cd4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
push 0xcc0020
push eax
push ecx
push edx
push esi
push edi
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x443cd4
push 8
lea eax, [esp + 0x19]
push eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x44]
push edx
push eax
mov eax, ebx
call fcn.004435b0
add esp, 0x14
mov dword [esp + 0x1c], eax
test eax, eax
je 0x443cd4
mov ebx, dword [esp + 0x38]
mov cl, byte [esp + 0x15]
mov edx, ebx
imul edx, dword [esp + 0x20]
mov dword [esp + 0x3c], edx
test cl, cl
je 0x443aa0
xor esi, esi
test edx, edx
jle 0x443aa4
and dword [eax + esi*4], 0xf8f8f8f8
inc esi
cmp esi, edx
jl 0x443a92
jmp 0x443aa4
mov esi, dword [esp + 0x44]
cmp byte [ebp + 0x24], 0
je 0x443af1
mov eax, dword [eax]
and eax, 0xffffff
cmp byte [esp + 0x18], 0
jne 0x443abf
mov ecx, eax
call fcn.0043b880
push eax
lea ecx, [esp + 0x6c]
push str.0x_06X
push ecx
call fcn.00499beb
mov eax, dword [esp + 0x5c]
add esp, 0xc
push 1
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x74]
push edx
push eax
call fcn.004824a0
mov byte [esp + 0x17], 1
jmp 0x443cdc
mov eax, dword [ebp + 0x20]
cmp eax, 1
jge 0x443b6d
test cl, cl
je 0x443b05
and dword [esp + 0x24], 0xf8f8f8f8
xor ecx, ecx
test edx, edx
jle 0x443cdc
mov edi, edx
dec edi
cmp byte [esp + 0x1a], 0
mov al, byte [esp + 0x19]
je 0x443b35
test al, al
je 0x443b25
mov esi, edi
jmp 0x443b4e
mov eax, ecx
cdq
idiv ebx
lea esi, [eax + 1]
imul esi, ebx
sub esi, edx
dec esi
jmp 0x443b4e
test al, al
je 0x443b4c
mov eax, edi
cdq
idiv ebx
mov esi, eax
mov eax, ecx
imul esi, ebx
cdq
idiv ebx
add esi, edx
jmp 0x443b4e
mov esi, ecx
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + esi*4]
and eax, 0xffffff
cmp eax, dword [esp + 0x24]
je 0x443ae7
inc ecx
dec edi
cmp ecx, dword [esp + 0x3c]
jl 0x443b12
jmp 0x443cdc
test cl, cl
je 0x443b7f
mov cl, 0xf8
and byte [esp + 0x14], cl
and byte [esp + 0x13], cl
and byte [esp + 0x16], cl
movzx edx, byte [esp + 0x14]
mov dword [esp + 0x24], edx
cmp eax, edx
jle 0x443b93
mov byte [esp + 0x1b], 0
jmp 0x443b9b
mov cl, dl
sub cl, al
mov byte [esp + 0x1b], cl
movzx ecx, byte [esp + 0x13]
mov dword [esp + 0x54], ecx
cmp eax, ecx
jle 0x443baf
mov byte [esp + 0x15], 0
jmp 0x443bb5
sub cl, al
mov byte [esp + 0x15], cl
movzx ecx, byte [esp + 0x16]
mov dword [esp + 0x20], ecx
cmp eax, ecx
jle 0x443bc9
mov byte [esp + 0x16], 0
jmp 0x443bd5
mov dl, cl
sub dl, al
mov byte [esp + 0x16], dl
mov edx, dword [esp + 0x24]
mov edi, 0xff
sub edi, edx
cmp eax, edi
jle 0x443be7
mov byte [esp + 0x18], 0xff
jmp 0x443bf5
mov cl, al
add cl, byte [esp + 0x24]
mov byte [esp + 0x18], cl
mov ecx, dword [esp + 0x20]
mov edx, 0xff
sub edx, dword [esp + 0x54]
cmp eax, edx
jle 0x443c09
mov byte [esp + 0x13], 0xff
jmp 0x443c17
mov cl, al
add cl, byte [esp + 0x54]
mov byte [esp + 0x13], cl
mov ecx, dword [esp + 0x20]
mov edx, 0xff
sub edx, ecx
cmp eax, edx
jle 0x443c29
mov byte [esp + 0x14], 0xff
jmp 0x443c2f
add al, cl
mov byte [esp + 0x14], al
xor edi, edi
cmp dword [esp + 0x3c], edi
jle 0x443cdc
mov eax, dword [esp + 0x3c]
dec eax
mov dword [esp + 0x20], eax
cmp byte [esp + 0x1a], 0
mov cl, byte [esp + 0x19]
je 0x443c67
test cl, cl
je 0x443c57
mov esi, eax
jmp 0x443c7e
mov eax, edi
cdq
idiv ebx
lea esi, [eax + 1]
imul esi, ebx
sub esi, edx
dec esi
jmp 0x443c7e
test cl, cl
je 0x443c7c
cdq
idiv ebx
mov esi, eax
mov eax, edi
imul esi, ebx
cdq
idiv ebx
add esi, edx
jmp 0x443c7e
mov esi, edi
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + esi*4]
mov ecx, eax
mov edx, eax
shr ecx, 0x10
shr edx, 8
cmp cl, byte [esp + 0x1b]
jb 0x443cb3
cmp cl, byte [esp + 0x18]
ja 0x443cb3
cmp dl, byte [esp + 0x15]
jb 0x443cb3
cmp dl, byte [esp + 0x13]
ja 0x443cb3
cmp al, byte [esp + 0x16]
jb 0x443cb3
cmp al, byte [esp + 0x14]
jbe 0x443ccd
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x38]
inc edi
dec eax
mov dword [esp + 0x20], eax
cmp edi, dword [esp + 0x3c]
jl 0x443c44
jmp 0x443cdc
mov byte [esp + 0x17], 1
jmp 0x443cd8
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [esp + 0x58]
test edi, edi
je 0x443d08
mov eax, dword [esp + 0x44]
test eax, eax
je 0x443d01
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x443d17
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0x1c], 0
je 0x443dad
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0049929d
add esp, 4
cmp byte [ebp + 0x24], 0
jne 0x443d80
cmp byte [esp + 0x17], 0
je 0x443d8c
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x443d5f
mov eax, esi
cdq
idiv ebx
push 0x18
mov eax, edx
sub eax, dword [esp + 0x30]
add eax, dword [esp + 0x4c]
cdq
push edx
push eax
mov eax, ecx
call fcn.004010e0
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x443d80
mov eax, esi
cdq
idiv ebx
push 0x18
sub eax, dword [esp + 0x34]
add eax, dword [esp + 0x2c]
cdq
push edx
push eax
mov eax, ecx
call fcn.004010e0
cmp byte [esp + 0x17], 0
mov eax, 0x4af9cc
jne 0x443d91
mov eax, 0x4b356c
mov edx, dword [0x4d8ea8]
push 1
push 0
push 0xffffffffffffffff
push eax
push edx
call fcn.004824a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
cmp byte [ebp + 0x24], 0
mov eax, 0x4b356c
jne 0x443dbd
mov eax, 0x4b3ac4
mov ecx, dword [0x4d4b04]
test byte [ecx + 0x100], 1
je 0x443d91
mov edi, dword [ebp + 8]
push 0x4af9bc
push 0
push eax
call fcn.004399f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
test ebx, ebx
jle 0x443e83
movzx edx, byte [esp + 0x14]
cmp ebx, edx
jle 0x443dfd
mov byte [esp + 0x1b], 0
jmp 0x443e05
mov al, dl
sub al, bl
mov byte [esp + 0x1b], al
movzx eax, byte [esp + 0x13]
cmp ebx, eax
jle 0x443e15
mov byte [esp + 0x15], 0
jmp 0x443e1b
sub al, bl
mov byte [esp + 0x15], al
movzx ecx, byte [esp + 0x16]
cmp ebx, ecx
jle 0x443e2b
mov byte [esp + 0x16], 0
jmp 0x443e33
mov al, cl
sub al, bl
mov byte [esp + 0x16], al
mov eax, 0xff
sub eax, edx
cmp ebx, eax
jle 0x443e45
mov byte [esp + 0x18], 0xff
jmp 0x443e4c
lea eax, [edx + ebx]
mov byte [esp + 0x18], al
movzx edx, byte [esp + 0x13]
mov eax, 0xff
sub eax, edx
cmp ebx, eax
jle 0x443e63
mov byte [esp + 0x13], 0xff
jmp 0x443e6a
lea eax, [edx + ebx]
mov byte [esp + 0x13], al
mov edx, 0xff
sub edx, ecx
cmp ebx, edx
jle 0x443e7c
mov byte [esp + 0x14], 0xff
jmp 0x443e83
lea eax, [ecx + ebx]
mov byte [esp + 0x14], al
mov edi, dword [ebp + 0xc]
mov esi, dword [esp + 0x58]
mov al, byte [esp + 0x1a]
mov edi, edi
test al, al
je 0x443e9e
xor eax, eax
cmp edi, dword [ebp + 0x14]
setge al
jmp 0x443ea6
xor eax, eax
cmp edi, dword [ebp + 0x14]
setle al
test eax, eax
je 0x443eea
mov esi, dword [ebp + 0x10]
lea ecx, [ecx]
xor eax, eax
cmp byte [esp + 0x19], al
je 0x443ec0
cmp esi, dword [ebp + 0x18]
setge al
jmp 0x443ec6
cmp esi, dword [ebp + 0x18]
setle al
test eax, eax
je 0x443f60
mov eax, dword [esp + 0x34]
push esi
push edi
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
cmp ebx, 1
jge 0x443f1d
cmp eax, dword [ebp + 0x1c]
jne 0x443f4b
mov byte [esp + 0x17], 1
mov edx, dword [esp + 0x34]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esp + 0x17], 0
jne 0x443f74
mov eax, dword [0x4d8ea8]
push 1
push 0
push 0xffffffffffffffff
push 0x4b356c
push eax
call fcn.004824a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov ecx, eax
mov edx, eax
shr ecx, 8
shr edx, 0x10
cmp al, byte [esp + 0x1b]
jb 0x443f4b
cmp al, byte [esp + 0x18]
ja 0x443f4b
cmp cl, byte [esp + 0x15]
jb 0x443f4b
cmp cl, byte [esp + 0x13]
ja 0x443f4b
cmp dl, byte [esp + 0x16]
jb 0x443f4b
cmp dl, byte [esp + 0x14]
jbe 0x443ee5
mov ebx, dword [ebp + 0x20]
xor eax, eax
cmp byte [esp + 0x19], al
sete al
lea esi, [esi + eax*2 - 1]
jmp 0x443eb0
mov al, byte [esp + 0x1a]
xor ecx, ecx
test al, al
sete cl
lea edi, [edi + ecx*2 - 1]
jmp 0x443e90
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x443f8e
mov eax, edi
sub eax, dword [esp + 0x2c]
push 0x18
cdq
push edx
push eax
mov eax, ecx
call fcn.004010e0
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x443fa8
mov eax, esi
sub eax, dword [esp + 0x30]
push 0x18
cdq
push edx
push eax
mov eax, ecx
call fcn.004010e0
mov ecx, dword [0x4d8ea8]
push 1
push 0
push 0xffffffffffffffff
push 0x4af9cc
push ecx
call fcn.004824a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20