Function at 0x4377f0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
cmp byte [ebp + 0x24], 0
push ebx
push esi
mov esi, dword [ebp + 0x20]
push edi
mov edi, ecx
mov dword [esp + 0x44], edi
jne 0x437820
mov edx, str.Fast
mov ecx, esi
call fcn.00472e50
mov byte [esp + 0x16], 0
test eax, eax
je 0x437825
mov byte [esp + 0x16], 1
mov edx, 0x4a433c
mov ecx, esi
call fcn.00472e50
test eax, eax
setne al
mov byte [esp + 0x17], al
test al, al
je 0x437860
mov ebx, dword [ebp + 0x18]
mov eax, ebx
shr eax, 8
movzx ecx, al
movzx eax, bl
shl eax, 8
or ecx, eax
mov eax, ebx
shr eax, 0x10
shl ecx, 8
movzx eax, al
or ecx, eax
jmp 0x437880
mov ecx, dword [ebp + 0x18]
mov eax, ecx
shr eax, 8
movzx ebx, al
movzx eax, cl
shl eax, 8
or ebx, eax
mov eax, ecx
shr eax, 0x10
shl ebx, 8
movzx eax, al
or ebx, eax
cmp byte [ebp + 0x24], 0
mov eax, dword [0x4b0840]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
je 0x437897
xor esi, esi
jmp 0x4378a4
mov cl, 1
cmp cl, byte [edi + 1]
sbb esi, esi
and esi, dword [0x4b0844]
mov dword [esp + 0x34], esi
test eax, eax
je 0x4378bb
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.004759c0
test esi, esi
je 0x4378ce
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.004759c0
xor edx, edx
mov dword [esp + 0x48], 0
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], 0
call fcn.00473e40
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x48]
add esi, ecx
mov edi, dword [ebp + 0x14]
mov eax, dword [esp + 0x4c]
add edi, eax
add dword [ebp + 0x10], ecx
add dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x1c]
mov dword [ebp + 8], esi
mov dword [ebp + 0x14], edi
test ecx, ecx
jns 0x437a8e
mov dword [ebp + 0x1c], 0
mov al, byte [esp + 0x17]
mov byte [esp + 0x10], al
mov al, byte [esp + 0x17]
mov dword [esp + 0x20], eax
mov al, byte [esp + 0x17]
push 0
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edx, eax
mov dword [esp + 0x24], edx
test edx, edx
je 0x437f54
cmp byte [esp + 0x16], 0
mov byte [esp + 0xf], 0
je 0x437d1d
mov eax, dword [ebp + 0x10]
xor ecx, ecx
sub edi, dword [ebp + 0xc]
sub eax, esi
inc eax
mov dword [esp + 0x28], ecx
push edx
mov dword [esp + 0x1c], ecx
inc edi
mov dword [esp + 0x3c], ecx
mov dword [ebp + 0x10], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
mov dword [esp + 0x40], esi
test esi, esi
je 0x437c4e
push edi
push dword [ebp + 0x10]
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x28], eax
test eax, eax
je 0x437c4e
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x38], eax
test eax, eax
je 0x437c4e
push 0xcc0020
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esp + 0x30]
push edi
push dword [ebp + 0x10]
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x437c4e
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x16]
push 8
push eax
lea eax, [esp + 0x44]
mov edx, esi
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004375e0
mov edx, eax
add esp, 0x10
mov dword [esp + 0x18], edx
test edx, edx
je 0x437c4e
mov edi, dword [esp + 0x2c]
mov al, byte [esp + 0x16]
imul edi, dword [esp + 0x3c]
test al, al
je 0x437ac2
xor esi, esi
test edi, edi
jle 0x437ac6
cmp edi, 8
jb 0x437a78
mov eax, edi
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x437a3a
dec eax
or eax, 0xfffffff8
inc eax
movdqa xmm1, xmmword [0x4a67b0]
mov ecx, edi
sub ecx, eax
mov eax, edx
jmp 0x437a50
movdqu xmm0, xmmword [eax]
add esi, 8
pand xmm0, xmm1
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [eax + 0x10]
pand xmm0, xmm1
movdqu xmmword [eax + 0x10], xmm0
add eax, 0x20
cmp esi, ecx
jl 0x437a50
mov al, byte [esp + 0x16]
cmp esi, edi
jge 0x437ac6
lea esp, [esp]
and dword [edx + esi*4], 0xf8f8f8f8
inc esi
cmp esi, edi
jl 0x437a80
jmp 0x437ac6
cmp ecx, 0xff
jle 0x437a9f
mov dword [ebp + 0x1c], 0xff
jmp 0x437aa7
test ecx, ecx
jle 0x437919
mov ecx, dword [esp + 0x2c]
mov eax, ecx
shr eax, 8
mov dword [esp + 0x20], eax
mov eax, ecx
mov byte [esp + 0x10], cl
shr eax, 0x10
jmp 0x43792d
mov esi, dword [esp + 0x3c]
cmp byte [ebp + 0x24], 0
je 0x437b12
mov eax, dword [edx]
and eax, 0xffffff
cmp byte [esp + 0x17], 0
jne 0x437ae1
mov ecx, eax
call fcn.0042fa20
push eax
lea eax, [esp + 0x54]
push str.0x_06X
push eax
call fcn.00485e6d
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x5c]
add esp, 0xc
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004759c0
mov byte [esp + 0xf], 1
jmp 0x437c52
mov ecx, dword [ebp + 0x1c]
cmp ecx, 1
jge 0x437b46
test al, al
je 0x437b24
and ebx, 0xf8f8f8f8
xor esi, esi
test edi, edi
jle 0x437c52
mov edi, edi
mov eax, dword [edx + esi*4]
and eax, 0xffffff
cmp eax, ebx
je 0x437b08
inc esi
cmp esi, edi
jl 0x437b30
jmp 0x437c52
mov bl, byte [esp + 0x10]
test al, al
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
je 0x437b63
and bl, 0xf8
and edx, 0xfffffff8
and eax, 0xfffffff8
mov dword [esp + 0x1c], eax
movzx esi, bl
cmp ecx, esi
jle 0x437b71
mov byte [esp + 0x16], 0
jmp 0x437b79
mov bh, bl
sub bh, cl
mov byte [esp + 0x16], bh
movzx ecx, dl
mov dword [esp + 0x3c], ecx
cmp dword [ebp + 0x1c], ecx
jle 0x437b8c
mov byte [esp + 0x14], 0
jmp 0x437b95
mov bh, dl
sub bh, byte [ebp + 0x1c]
mov byte [esp + 0x14], bh
movzx ecx, al
mov dword [esp + 0x20], ecx
cmp dword [ebp + 0x1c], ecx
jle 0x437ba8
mov byte [esp + 0x12], 0
jmp 0x437bb1
mov bh, al
sub bh, byte [ebp + 0x1c]
mov byte [esp + 0x12], bh
mov ecx, 0xff
mov eax, ecx
sub eax, esi
cmp dword [ebp + 0x1c], eax
jle 0x437bc5
mov byte [esp + 0x15], cl
jmp 0x437bce
mov bh, byte [ebp + 0x1c]
add bh, bl
mov byte [esp + 0x15], bh
mov ebx, dword [ebp + 0x1c]
mov eax, ecx
sub eax, dword [esp + 0x3c]
cmp ebx, eax
jle 0x437be1
mov byte [esp + 0x13], cl
jmp 0x437be8
lea eax, [edx + ebx]
mov byte [esp + 0x13], al
sub ecx, dword [esp + 0x20]
cmp ebx, ecx
jle 0x437bf6
mov byte [ebp + 0x1c], 0xff
jmp 0x437bff
mov eax, dword [esp + 0x1c]
add bl, al
mov dword [ebp + 0x1c], ebx
xor esi, esi
test edi, edi
jle 0x437c52
mov ebx, dword [esp + 0x18]
lea esp, [esp]
mov edx, dword [ebx + esi*4]
mov ecx, edx
mov eax, edx
shr ecx, 0x10
shr eax, 8
cmp cl, byte [esp + 0x16]
jb 0x437c40
cmp cl, byte [esp + 0x15]
ja 0x437c40
cmp al, byte [esp + 0x14]
jb 0x437c40
cmp al, byte [esp + 0x13]
ja 0x437c40
cmp dl, byte [esp + 0x12]
jb 0x437c40
cmp dl, byte [ebp + 0x1c]
jbe 0x437c47
inc esi
cmp esi, edi
jl 0x437c10
jmp 0x437c56
mov byte [esp + 0xf], 1
jmp 0x437c56
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x18]
push dword [esp + 0x24]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [esp + 0x40]
test edi, edi
je 0x437c81
mov eax, dword [esp + 0x38]
test eax, eax
je 0x437c7a
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x437c90
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test ebx, ebx
je 0x437f54
push ebx
call fcn.004858b4
add esp, 4
cmp byte [ebp + 0x24], 0
jne 0x437cf0
cmp byte [esp + 0xf], 0
je 0x437cf0
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
test ecx, ecx
je 0x437cd2
mov eax, esi
cdq
idiv ebx
push 0x18
sub edx, dword [esp + 0x4c]
add edx, dword [ebp + 8]
mov eax, edx
cdq
push edx
push eax
call fcn.00402370
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x437cf0
mov eax, esi
cdq
idiv ebx
push 0x18
sub eax, dword [esp + 0x50]
add eax, dword [ebp + 0xc]
cdq
push edx
push eax
call fcn.00402370
cmp byte [esp + 0xf], 0
mov ecx, 0x4a09f8
push 1
push 0
mov eax, 0x49e080
cmove eax, ecx
mov ecx, dword [0x4af094]
push 0xffffffffffffffff
push eax
call fcn.004759c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov ebx, dword [ebp + 0x1c]
mov edx, esi
cmp edx, dword [ebp + 0x10]
setg byte [esp + 0x17]
cmp dword [ebp + 0xc], edi
setg cl
mov byte [esp + 0x16], cl
test ebx, ebx
jle 0x437de9
mov bl, byte [esp + 0x10]
mov eax, dword [ebp + 0x1c]
movzx esi, bl
cmp eax, esi
jle 0x437d51
mov byte [esp + 0x10], 0
jmp 0x437d59
mov cl, bl
sub cl, al
mov byte [esp + 0x10], cl
mov edx, dword [esp + 0x20]
movzx edi, dl
cmp eax, edi
jle 0x437d6b
mov byte [esp + 0x12], 0
jmp 0x437d73
mov bh, dl
sub bh, al
mov byte [esp + 0x12], bh
mov eax, dword [esp + 0x1c]
movzx ecx, al
mov dword [esp + 0x40], ecx
cmp dword [ebp + 0x1c], ecx
jle 0x437d8a
mov byte [esp + 0x14], 0
jmp 0x437d93
mov bh, al
sub bh, byte [ebp + 0x1c]
mov byte [esp + 0x14], bh
mov ecx, 0xff
mov eax, ecx
sub eax, esi
cmp dword [ebp + 0x1c], eax
jle 0x437da7
mov byte [esp + 0x11], cl
jmp 0x437db0
mov al, byte [ebp + 0x1c]
add al, bl
mov byte [esp + 0x11], al
mov ebx, dword [ebp + 0x1c]
mov eax, ecx
sub eax, edi
cmp ebx, eax
jle 0x437dc1
mov byte [esp + 0x13], cl
jmp 0x437dc8
lea eax, [edx + ebx]
mov byte [esp + 0x13], al
sub ecx, dword [esp + 0x40]
mov edi, dword [ebp + 0x14]
cmp ebx, ecx
mov edx, dword [ebp + 8]
mov cl, byte [esp + 0x16]
jle 0x437ddf
or ch, 0xff
jmp 0x437e15
mov eax, dword [esp + 0x1c]
mov ch, bl
add ch, al
jmp 0x437e15
mov al, byte [esp + 0x17]
mov ch, byte [esp + 0x17]
mov byte [esp + 0x10], al
mov al, byte [esp + 0x17]
mov byte [esp + 0x12], al
mov al, byte [esp + 0x17]
mov byte [esp + 0x14], al
mov al, byte [esp + 0x17]
mov byte [esp + 0x11], al
mov al, byte [esp + 0x17]
mov byte [esp + 0x13], al
mov esi, dword [esp + 0x44]
mov byte [esp + 0x15], ch
mov ch, byte [esp + 0x17]
xor eax, eax
test ch, ch
je 0x437e2f
cmp edx, dword [ebp + 0x10]
setge al
jmp 0x437e35
cmp edx, dword [ebp + 0x10]
setle al
test eax, eax
je 0x437e76
mov esi, dword [ebp + 0xc]
lea esp, [esp]
xor eax, eax
test cl, cl
je 0x437e4d
cmp esi, edi
setge al
jmp 0x437e52
cmp esi, edi
setle al
test eax, eax
je 0x437eed
push esi
push edx
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_GetPixel]
cmp ebx, 1
jge 0x437ea8
cmp eax, dword [esp + 0x2c]
jne 0x437ed6
mov byte [esp + 0xf], 1
push dword [esp + 0x24]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esp + 0xf], 0
jne 0x437f04
mov ecx, dword [0x4af094]
push 1
push 0
push 0xffffffffffffffff
push 0x4a09f8
call fcn.004759c0
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 + 0x10]
jb 0x437ed6
cmp al, byte [esp + 0x11]
ja 0x437ed6
cmp cl, byte [esp + 0x12]
jb 0x437ed6
cmp cl, byte [esp + 0x13]
ja 0x437ed6
cmp dl, byte [esp + 0x14]
jb 0x437ed6
cmp dl, byte [esp + 0x15]
jbe 0x437e71
mov cl, byte [esp + 0x16]
xor eax, eax
mov edx, dword [ebp + 8]
test cl, cl
sete al
lea esi, [esi + eax*2]
dec esi
jmp 0x437e40
mov ch, byte [esp + 0x17]
xor eax, eax
test ch, ch
sete al
lea edx, [edx + eax*2]
dec edx
mov dword [ebp + 8], edx
jmp 0x437e21
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x437f1d
mov eax, dword [ebp + 8]
sub eax, dword [esp + 0x48]
push 0x18
cdq
push edx
push eax
call fcn.00402370
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x437f35
sub esi, dword [esp + 0x4c]
push 0x18
mov eax, esi
cdq
push edx
push eax
call fcn.00402370
mov ecx, dword [0x4af094]
push 1
push 0
push 0xffffffffffffffff
push 0x49e080
call fcn.004759c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
cmp byte [ebp + 0x24], 0
mov ecx, 0x4a09f8
mov eax, 0x4a0cb8
cmove ecx, eax
cmp byte [ecx], 0x30
jne 0x437f70
cmp byte [ecx + 1], 0
je 0x437f7e
mov eax, dword [0x4ac1d8]
test byte [eax + 0xe0], 1
jne 0x437f99
push 1
push 0
push 0xffffffffffffffff
push ecx
mov ecx, dword [0x4af094]
call fcn.004759c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
push 0x49e065
push 0
push ecx
mov ecx, dword [esp + 0x50]
call fcn.0042ddd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20