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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
mov edx, dword [ebp + 8]
mov ecx, dword [0x4c1e68]
mov al, 1
cmp al, byte [edx + 1]
push ebx
push esi
sbb esi, esi
and esi, dword [0x4c1e6c]
push edi
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], esi
test ecx, ecx
je 0x4396a4
push 1
push 0
push 0xffffffffffffffff
push 0
call fcn.00472b80
test esi, esi
je 0x4396b7
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.00472b80
mov eax, dword [0x4be40c]
movzx ebx, word [eax + 0xec]
xor esi, esi
xor edi, edi
and ebx, 3
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], edi
cmp ebx, 2
je 0x43973f
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [esp + 0x18], eax
test eax, eax
je 0x43973f
mov ecx, eax
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x43973f
test ebx, ebx
jne 0x439708
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x7c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x439728
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x7c]
xor eax, eax
push ecx
push edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x43973f
add esi, dword [esp + 0x7c]
add edi, dword [esp + 0x80]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], edi
mov ebx, dword [ebp + 0x1c]
add dword [ebp + 0xc], esi
add dword [ebp + 0x10], edi
add dword [ebp + 0x14], esi
add dword [ebp + 0x18], edi
xor eax, eax
push 0x2e
push ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
call fcn.0048a8d4
mov esi, eax
add esp, 8
test esi, esi
je 0x4397c8
add esi, 2
push 0x4a5654
push esi
call fcn.00488e19
add esp, 8
test eax, eax
je 0x4397b2
push 0x4a565c
push esi
call fcn.00488e19
add esp, 8
test eax, eax
je 0x4397b2
push 0x4a5664
push esi
call fcn.00488e19
add esp, 8
test eax, eax
jne 0x4397c8
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call esi
push 0x32
mov dword [esp + 0x2c], eax
call esi
mov dword [esp + 0x24], eax
mov edi, ebx
lea ebx, [ebx]
movzx eax, word [edi]
cmp eax, 0x20
je 0x4397dd
cmp eax, 9
jne 0x4397e2
add edi, 2
jmp 0x4397d0
cmp word [edi], 0x2a
jne 0x439a95
movzx eax, word [edi + 2]
add edi, 2
push eax
call fcn.0048ae1b
movzx eax, ax
add esp, 4
cmp eax, 0x48
je 0x4399be
cmp eax, 0x57
je 0x43994b
push 4
push str.Icon
push edi
call fcn.00489652
add esp, 0xc
test eax, eax
jne 0x439858
add edi, 8
mov eax, edi
call fcn.0040cb80
test al, al
je 0x439849
push 0x10
push 0
push edi
call fcn.0048a43b
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x439a2f
push edi
call fcn.0048a0a6
mov dword [esp + 0x1c], eax
jmp 0x439a2c
push 5
push str.Trans
push edi
call fcn.00489652
add esp, 0xc
test eax, eax
jne 0x4398f7
push 0x1f
add edi, 0xa
lea ecx, [esp + 0xac]
push edi
push ecx
call fcn.0048b9c4
xor edx, edx
add esp, 0xc
mov ebx, 0x49f57c
lea eax, [esp + 0xa8]
mov word [esp + 0xe6], dx
call fcn.00409140
test eax, eax
je 0x4398aa
xor ecx, ecx
mov word [eax], cx
lea esi, [esp + 0xa8]
call fcn.00471200
cmp eax, 0xffffffff
jne 0x4398d3
push 0x10
mov edx, esi
push 0
push edx
call fcn.0048a43b
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x439a2f
mov ecx, eax
shr ecx, 8
movzx edx, al
movzx ecx, cl
shl edx, 8
shr eax, 0x10
or ecx, edx
movzx eax, al
shl ecx, 8
or ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x439a2f
mov eax, edi
call fcn.0040cb80
test al, al
je 0x439915
push 0x10
push 0
push edi
call fcn.0048a43b
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x439922
push edi
call fcn.0048a0a6
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jns 0x439933
mov dword [esp + 0x14], 0
jmp 0x439a2f
cmp eax, 0xff
jle 0x439a2f
mov dword [esp + 0x14], 0xff
jmp 0x439a2f
lea esi, [edi + 2]
mov eax, esi
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x43995d
cmp ecx, 9
jne 0x439962
add eax, 2
jmp 0x439950
movzx ecx, word [eax]
test cx, cx
je 0x4399b2
cmp ecx, 0x2d
je 0x439974
cmp ecx, 0x2b
jne 0x439977
add eax, 2
cmp word [eax], 0x30
jne 0x4399b2
movzx ecx, word [eax + 2]
cmp ecx, 0x78
je 0x43998b
cmp ecx, 0x58
jne 0x4399b2
movzx ecx, word [eax + 4]
push ecx
call fcn.0048a249
add esp, 4
test eax, eax
je 0x4399b2
push 0x10
push 0
push esi
call fcn.0048a43b
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x439a2f
push esi
call fcn.0048a0a6
mov dword [esp + 0x2c], eax
jmp 0x439a2c
lea esi, [edi + 2]
mov eax, esi
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x4399d0
cmp ecx, 9
jne 0x4399d5
add eax, 2
jmp 0x4399c3
movzx ecx, word [eax]
test cx, cx
je 0x439a22
cmp ecx, 0x2d
je 0x4399e7
cmp ecx, 0x2b
jne 0x4399ea
add eax, 2
cmp word [eax], 0x30
jne 0x439a22
movzx ecx, word [eax + 2]
cmp ecx, 0x78
je 0x4399fe
cmp ecx, 0x58
jne 0x439a22
movzx edx, word [eax + 4]
push edx
call fcn.0048a249
add esp, 4
test eax, eax
je 0x439a22
push 0x10
push 0
push esi
call fcn.0048a43b
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x439a2f
push esi
call fcn.0048a0a6
mov dword [esp + 0x28], eax
add esp, 4
test edi, edi
je 0x439b6c
movzx eax, word [edi]
test ax, ax
je 0x439b6c
movzx edx, ax
mov ecx, 0x49f57c
mov eax, 0x20
cmp dx, ax
je 0x439a72
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x439a50
movzx eax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x439a43
jmp 0x439b6c
lea ebx, [edi + 2]
mov eax, ebx
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x439a84
cmp ecx, 9
jne 0x439a89
add eax, 2
jmp 0x439a77
cmp word [eax], 0x2a
mov edi, eax
je 0x4397ec
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
push 0
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x58]
push ecx
push edx
push eax
push ebx
call fcn.00471700
mov esi, eax
add esp, 0x18
mov dword [esp + 0x6c], esi
test esi, esi
je 0x439b6c
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
mov dword [esp + 0x28], edi
test edi, edi
jne 0x439ae0
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x439b6c
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
cmp dword [esp + 0x50], 1
mov dword [esp + 0x74], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], eax
mov byte [esp + 0x11], al
jne 0x439bbb
lea ecx, [esp + 0x94]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x439b59
push 1
lea edx, [esp + 0x16]
push edx
mov edx, dword [esp + 0xa8]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x4c]
push ecx
push edx
mov eax, edi
call fcn.00438d20
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xb8]
add esp, 0x14
push eax
call ebx
mov ecx, dword [esp + 0xa0]
push ecx
call ebx
push esi
call fcn.00471e90
mov esi, eax
add esp, 4
mov dword [esp + 0x6c], eax
test esi, esi
jne 0x439bb7
mov edx, dword [0x4be40c]
cmp byte [edx + 0x104], 0
jne 0x439b9a
mov ecx, dword [0x4c26cc]
push 1
push 0
push 0xffffffffffffffff
push 0x49f5dc
call fcn.00472b80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp + 8]
push 0x4a6b2c
push 0
push 0x49f5dc
call fcn.0042f160
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edi, dword [esp + 0x28]
push 8
lea eax, [esp + 0x16]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x4c]
push edx
push esi
mov eax, edi
call fcn.00438d20
add esp, 0x14
mov dword [esp + 0x38], eax
test eax, eax
je 0x439e17
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x18]
mov eax, dword [esp + 0x28]
sub esi, dword [ebp + 0xc]
sub ebx, dword [ebp + 0x10]
push eax
inc esi
inc ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov dword [esp + 0x74], edi
test edi, edi
je 0x439e17
mov ecx, dword [esp + 0x28]
push ebx
push esi
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x18], eax
test eax, eax
je 0x439e17
mov edx, eax
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x70], eax
test eax, eax
je 0x439e17
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x28]
push 0xcc0020
push eax
push ecx
push edx
push ebx
push esi
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x439e17
push 8
lea eax, [esp + 0x17]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x3c]
push edx
push eax
mov eax, edi
call fcn.00438d20
mov esi, eax
add esp, 0x14
mov dword [esp + 0x24], esi
test esi, esi
je 0x439e17
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
imul ecx, dword [esp + 0x48]
imul edx, dword [esp + 0x68]
cmp byte [esp + 0x12], 0
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
jne 0x439cb6
cmp byte [esp + 0x13], 0
je 0x439cf4
cmp dword [esp + 0x2c], 0xffffffff
je 0x439cc5
and dword [esp + 0x2c], 0xf8f8f8
xor eax, eax
test edx, edx
jle 0x439cdc
jmp 0x439cd0
and dword [esi + eax*4], 0xf8f8f8
inc eax
cmp eax, edx
jl 0x439cd0
mov edi, dword [esp + 0x38]
xor eax, eax
test ecx, ecx
jle 0x439d09
and dword [edi + eax*4], 0xf8f8f8
inc eax
cmp eax, ecx
jl 0x439ce6
jmp 0x439cf8
mov edi, dword [esp + 0x38]
test ecx, ecx
jle 0x439d09
lea eax, [edi + 3]
nop
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x439d00
mov ebx, dword [esp + 0x14]
cmp ebx, 1
jge 0x439ecc
test edx, edx
jle 0x439d29
lea eax, [esi + 3]
mov ecx, edx
nop
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x439d20
xor esi, esi
mov dword [esp + 0x20], esi
test edx, edx
jle 0x43a0af
mov ebx, dword [edi]
mov dword [esp + 0x54], ebx
lea ecx, [ecx]
mov ecx, dword [esp + 0x24]
lea edi, [esi*4]
cmp dword [edi + ecx], ebx
je 0x439d67
mov eax, dword [esp + 0x34]
test eax, eax
je 0x439d5d
cmp dword [eax], 0
jne 0x439d67
cmp ebx, dword [esp + 0x2c]
jne 0x439eb8
mov ecx, dword [esp + 0x30]
mov eax, esi
cdq
idiv ecx
mov esi, dword [esp + 0x68]
sub esi, eax
cmp dword [esp + 0x48], esi
jg 0x439eb4
sub ecx, edx
cmp dword [esp + 0x40], ecx
jg 0x439eb4
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov byte [esp + 0x11], 1
mov dword [esp + 0x44], ebx
cmp dword [esp + 0x4c], ebx
jle 0x439e1b
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
sub edx, eax
mov byte [esp + 0x11], 1
mov ecx, esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x60], edx
mov edi, edi
mov edx, dword [eax]
mov edi, dword [esp + 0x24]
cmp dword [edi + esi*4], edx
je 0x439de6
cmp dword [esp + 0x34], 0
je 0x439ddc
mov edi, dword [esp + 0x60]
cmp dword [edi + eax], 0
jne 0x439de6
cmp edx, dword [esp + 0x2c]
jne 0x439eab
inc ebx
cmp ebx, dword [esp + 0x40]
jge 0x439df0
inc esi
jmp 0x439e05
mov edx, dword [esp + 0x30]
lea esi, [edx*4]
add dword [esp + 0x3c], esi
xor ebx, ebx
add ecx, edx
mov esi, ecx
mov edx, dword [esp + 0x44]
inc edx
add eax, 4
mov dword [esp + 0x44], edx
cmp edx, dword [esp + 0x4c]
jl 0x439dc0
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x6c]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call ebx
mov edi, dword [esp + 0x74]
test edi, edi
je 0x439e54
mov eax, dword [esp + 0x70]
test eax, eax
je 0x439e4d
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x439e5f
push eax
call ebx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x439e70
push eax
call fcn.0048a46f
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x439e81
push eax
call fcn.0048a46f
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x439e92
push eax
call fcn.0048a46f
add esp, 4
cmp byte [esp + 0x11], 0
jne 0x43a0ca
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ebx, dword [esp + 0x54]
mov byte [esp + 0x11], 0
mov esi, dword [esp + 0x20]
inc esi
mov dword [esp + 0x20], esi
cmp esi, dword [esp + 0x50]
jl 0x439d40
jmp 0x43a0af
xor esi, esi
mov dword [esp + 0x20], esi
test edx, edx
jle 0x43a0af
lea ebx, [ebx]
mov eax, esi
cdq
idiv dword [esp + 0x30]
mov ecx, dword [esp + 0x68]
sub ecx, eax
cmp dword [esp + 0x48], ecx
jg 0x43a0a0
mov eax, dword [esp + 0x30]
sub eax, edx
cmp dword [esp + 0x40], eax
jg 0x43a0a0
xor eax, eax
mov byte [esp + 0x11], 1
mov dword [esp + 0x64], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], esi
cmp dword [esp + 0x4c], eax
jle 0x439e1b
mov eax, dword [esp + 0x34]
lea ecx, [esi*4]
sub eax, edi
mov byte [esp + 0x11], 1
mov dword [esp + 0x54], esi
mov dword [esp + 0x78], ecx
mov dword [esp + 0x60], eax
movzx eax, byte [edi + 2]
mov dl, byte [edi + 1]
cmp ebx, eax
jle 0x439f54
mov byte [esp + 0x12], 0
jmp 0x439f5c
mov cl, al
sub cl, bl
mov byte [esp + 0x12], cl
movzx edx, dl
mov dword [esp + 0x7c], edx
cmp ebx, edx
jle 0x439f6e
mov byte [esp + 0x1f], 0
jmp 0x439f7c
mov ebx, dword [esp + 0x14]
mov cl, dl
sub cl, byte [esp + 0x14]
mov byte [esp + 0x1f], cl
movzx ecx, byte [edi]
cmp ebx, ecx
jle 0x439f8a
mov byte [esp + 0x1c], 0
jmp 0x439f98
mov dl, cl
sub dl, byte [esp + 0x14]
mov byte [esp + 0x1c], dl
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x14]
mov esi, 0xff
sub esi, eax
cmp ebx, esi
jle 0x439fb2
mov eax, 0xff
mov byte [esp + 0x1e], al
jmp 0x439fbd
add al, bl
mov byte [esp + 0x1e], al
mov eax, 0xff
mov esi, eax
sub esi, edx
cmp ebx, esi
jle 0x439fcb
mov byte [esp + 0x1d], al
jmp 0x439fd1
add dl, bl
mov byte [esp + 0x1d], dl
mov edx, eax
sub edx, ecx
cmp ebx, edx
jle 0x439fdf
mov byte [esp + 0x13], al
jmp 0x439fe5
add cl, bl
mov byte [esp + 0x13], cl
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
mov cl, byte [eax + esi*4 + 2]
mov dl, byte [eax + esi*4 + 1]
mov al, byte [eax + esi*4]
cmp cl, byte [esp + 0x12]
jb 0x43a01c
cmp cl, byte [esp + 0x1e]
ja 0x43a01c
cmp dl, byte [esp + 0x1f]
jb 0x43a01c
cmp dl, byte [esp + 0x1d]
ja 0x43a01c
cmp al, byte [esp + 0x1c]
jb 0x43a01c
cmp al, byte [esp + 0x13]
jbe 0x43a035
cmp dword [esp + 0x34], 0
je 0x43a02d
mov eax, dword [esp + 0x60]
cmp dword [edi + eax], 0
jne 0x43a035
mov ecx, dword [esp + 0x2c]
cmp dword [edi], ecx
jne 0x43a08f
mov eax, dword [esp + 0x64]
inc eax
mov dword [esp + 0x64], eax
cmp eax, dword [esp + 0x40]
jge 0x43a04b
inc esi
mov dword [esp + 0x3c], esi
jmp 0x43a070
mov eax, dword [esp + 0x30]
lea ecx, [eax*4]
add dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x54]
add ecx, eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x54], ecx
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x44]
inc eax
add edi, 4
mov dword [esp + 0x44], eax
cmp eax, dword [esp + 0x4c]
jge 0x439e17
mov ebx, dword [esp + 0x14]
jmp 0x439f42
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x38]
mov byte [esp + 0x11], 0
inc esi
mov dword [esp + 0x20], esi
cmp esi, dword [esp + 0x50]
jl 0x439ee0
mov ecx, dword [0x4c26cc]
push 1
push 0
push 0xffffffffffffffff
push 0x49f36c
call fcn.00472b80
jmp 0x439e1b
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x43a0f1
mov eax, esi
cdq
idiv dword [esp + 0x30]
push 0x18
mov eax, edx
sub eax, dword [esp + 0x5c]
add eax, dword [ebp + 0xc]
cdq
push edx
push eax
mov eax, ecx
call fcn.004010e0
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x43a116
mov eax, esi
cdq
idiv dword [esp + 0x30]
push 0x18
sub eax, dword [esp + 0x60]
add eax, dword [ebp + 0x10]
cdq
push edx
push eax
mov eax, ecx
call fcn.004010e0
mov ecx, dword [0x4c26cc]
push 1
push 0
push 0xffffffffffffffff
push 0x49c8d0
call fcn.00472b80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18