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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov edx, dword [ebp + 8]
mov ecx, dword [0x4a9c68]
mov al, 1
cmp al, byte [edx + 1]
push ebx
push esi
sbb esi, esi
and esi, dword [0x4a9c6c]
push edi
mov dword [esp + 0x90], ecx
mov dword [esp + 0x8c], esi
test ecx, ecx
je 0x438a6c
call fcn.00412b30
test esi, esi
je 0x438a77
mov ecx, esi
call fcn.00412b30
mov eax, dword [0x4a6440]
movzx edi, word [eax + 0xcc]
xor esi, esi
xor ebx, ebx
and edi, 3
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], ebx
cmp edi, 2
je 0x438aff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [esp + 0x14], eax
test eax, eax
je 0x438aff
mov ecx, eax
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x438aff
test edi, edi
jne 0x438ac8
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x7c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x438ae8
mov edx, dword [esp + 0x14]
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 0x438aff
add esi, dword [esp + 0x7c]
add ebx, dword [esp + 0x80]
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], ebx
mov edi, dword [ebp + 0x1c]
add dword [ebp + 0xc], esi
add dword [ebp + 0x10], ebx
add dword [ebp + 0x14], esi
add dword [ebp + 0x18], ebx
xor eax, eax
push 0x2e
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
call fcn.00486ffa
mov esi, eax
add esp, 8
test esi, esi
je 0x438b86
inc esi
push 0x49d7dc
push esi
call fcn.00484e01
add esp, 8
test eax, eax
je 0x438b70
push 0x49d7e0
push esi
call fcn.00484e01
add esp, 8
test eax, eax
je 0x438b70
push 0x49d7e4
push esi
call fcn.00484e01
add esp, 8
test eax, eax
jne 0x438b86
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 ebx, edi
mov al, byte [ebx]
cmp al, 0x20
je 0x438b92
cmp al, 9
jne 0x438b95
inc ebx
jmp 0x438b88
cmp byte [ebx], 0x2a
jne 0x438e4a
movsx eax, byte [ebx + 1]
inc ebx
push eax
call fcn.00487645
add esp, 4
cmp eax, 0x48
je 0x438d62
cmp eax, 0x57
je 0x438cf4
push 4
push str.Icon
push ebx
call fcn.00485880
add esp, 0xc
test eax, eax
jne 0x438c05
add ebx, 4
mov eax, ebx
call fcn.0040cdb0
test al, al
je 0x438bf6
push 0x10
push 0
push ebx
call fcn.00486784
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x438dca
push ebx
call fcn.00486386
mov dword [esp + 0x18], eax
jmp 0x438dc7
push 5
push str.Trans
push ebx
call fcn.00485880
add esp, 0xc
test eax, eax
jne 0x438ca0
push 0x1f
add ebx, 5
lea ecx, [esp + 0xac]
push ebx
push ecx
call fcn.00487da0
add esp, 0xc
mov edi, 0x499ffc
lea eax, [esp + 0xa8]
mov byte [esp + 0xc7], 0
call fcn.00409340
test eax, eax
je 0x438c53
mov byte [eax], 0
lea esi, [esp + 0xa8]
call fcn.004731c0
cmp eax, 0xffffffff
jne 0x438c7c
push 0x10
mov edx, esi
push 0
push edx
call fcn.00486784
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x438dca
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 0x438dca
mov eax, ebx
call fcn.0040cdb0
test al, al
je 0x438cbe
push 0x10
push 0
push ebx
call fcn.00486784
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x438ccb
push ebx
call fcn.00486386
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jns 0x438cdc
mov dword [esp + 0x18], 0
jmp 0x438dca
cmp eax, 0xff
jle 0x438dca
mov dword [esp + 0x18], 0xff
jmp 0x438dca
lea esi, [ebx + 1]
mov eax, esi
lea esp, [esp]
mov cl, byte [eax]
cmp cl, 0x20
je 0x438d0c
cmp cl, 9
jne 0x438d0f
inc eax
jmp 0x438d00
mov cl, byte [eax]
test cl, cl
je 0x438d56
cmp cl, 0x2d
je 0x438d1f
cmp cl, 0x2b
jne 0x438d20
inc eax
cmp byte [eax], 0x30
jne 0x438d56
mov cl, byte [eax + 1]
cmp cl, 0x78
je 0x438d32
cmp cl, 0x58
jne 0x438d56
movsx ecx, byte [eax + 2]
push ecx
call fcn.00486529
add esp, 4
test eax, eax
je 0x438d56
push 0x10
push 0
push esi
call fcn.00486784
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x438dca
push esi
call fcn.00486386
mov dword [esp + 0x2c], eax
jmp 0x438dc7
lea esi, [ebx + 1]
mov eax, esi
mov cl, byte [eax]
cmp cl, 0x20
je 0x438d73
cmp cl, 9
jne 0x438d76
inc eax
jmp 0x438d67
mov cl, byte [eax]
test cl, cl
je 0x438dbd
cmp cl, 0x2d
je 0x438d86
cmp cl, 0x2b
jne 0x438d87
inc eax
cmp byte [eax], 0x30
jne 0x438dbd
mov cl, byte [eax + 1]
cmp cl, 0x78
je 0x438d99
cmp cl, 0x58
jne 0x438dbd
movsx edx, byte [eax + 2]
push edx
call fcn.00486529
add esp, 4
test eax, eax
je 0x438dbd
push 0x10
push 0
push esi
call fcn.00486784
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x438dca
push esi
call fcn.00486386
mov dword [esp + 0x28], eax
add esp, 4
test ebx, ebx
je 0x438df4
mov dl, byte [ebx]
test dl, dl
je 0x438df4
mov ecx, 0x499ffc
mov al, 0x20
jmp 0x438de0
cmp dl, al
je 0x438e27
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x438de0
mov dl, byte [ebx + 1]
inc ebx
test dl, dl
jne 0x438dd4
mov ecx, dword [0x4a6440]
cmp byte [ecx + 0xe4], 0
jne 0x43948e
mov edx, dword [0x4aa51c]
push 1
push 0
push 0xffffffffffffffff
push 0x49a030
push edx
call fcn.00474ce0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
lea edi, [ebx + 1]
mov eax, edi
lea esp, [esp]
mov cl, byte [eax]
cmp cl, 0x20
je 0x438e3c
cmp cl, 9
jne 0x438e3f
inc eax
jmp 0x438e30
cmp byte [eax], 0x2a
mov ebx, eax
je 0x438b9e
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
push 0
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x44]
push ecx
push edx
push eax
push edi
call fcn.00473640
mov esi, eax
add esp, 0x18
mov dword [esp + 0x70], esi
test esi, esi
je 0x438df4
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
mov dword [esp + 0x4c], ebx
cmp ebx, edi
jne 0x438e92
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x438df4
cmp dword [esp + 0x3c], 1
mov dword [esp + 0x74], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x7c], edi
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
mov byte [esp + 0x11], 0
jne 0x438f1d
lea ecx, [esp + 0x94]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x438f06
push 1
lea edx, [esp + 0x16]
push edx
mov edx, dword [esp + 0xa8]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x4c]
push ecx
push edx
mov eax, ebx
call fcn.004380e0
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xb8]
add esp, 0x14
push eax
call edi
mov ecx, dword [esp + 0xa0]
push ecx
call edi
push esi
call fcn.00473eb0
mov esi, eax
add esp, 4
mov dword [esp + 0x70], eax
test esi, esi
je 0x438df4
push 8
lea edx, [esp + 0x16]
push edx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x4c]
push ecx
push esi
mov eax, ebx
call fcn.004380e0
add esp, 0x14
mov dword [esp + 0x34], eax
test eax, eax
je 0x439177
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x18]
mov edx, dword [esp + 0x4c]
sub esi, dword [ebp + 0xc]
sub ebx, dword [ebp + 0x10]
push edx
inc esi
inc ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov dword [esp + 0x74], edi
test edi, edi
je 0x439177
mov eax, dword [esp + 0x4c]
push ebx
push esi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x14], eax
test eax, eax
je 0x439177
mov ecx, eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x7c], eax
test eax, eax
je 0x439177
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x4c]
push 0xcc0020
push edx
push eax
push ecx
push ebx
push esi
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x439177
push 8
lea edx, [esp + 0x17]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edx
mov eax, edi
call fcn.004380e0
mov esi, eax
add esp, 0x14
mov dword [esp + 0x24], esi
test esi, esi
je 0x439177
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
imul ecx, dword [esp + 0x50]
imul edx, dword [esp + 0x6c]
cmp byte [esp + 0x12], 0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x54], edx
jne 0x439018
cmp byte [esp + 0x13], 0
je 0x439054
cmp dword [esp + 0x2c], 0xffffffff
je 0x439027
and dword [esp + 0x2c], 0xf8f8f8
xor eax, eax
test edx, edx
jle 0x43903c
lea ecx, [ecx]
and dword [esi + eax*4], 0xf8f8f8
inc eax
cmp eax, edx
jl 0x439030
mov edi, dword [esp + 0x34]
xor eax, eax
test ecx, ecx
jle 0x439069
and dword [edi + eax*4], 0xf8f8f8
inc eax
cmp eax, ecx
jl 0x439046
jmp 0x439058
mov edi, dword [esp + 0x34]
test ecx, ecx
jle 0x439069
lea eax, [edi + 3]
nop
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x439060
mov ebx, dword [esp + 0x18]
cmp ebx, 1
jge 0x439230
test edx, edx
jle 0x439089
lea eax, [esi + 3]
mov ecx, edx
nop
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x439080
xor esi, esi
mov dword [esp + 0x20], esi
test edx, edx
jle 0x439408
mov ebx, dword [edi]
mov dword [esp + 0x3c], ebx
lea ecx, [ecx]
mov eax, dword [esp + 0x24]
lea edi, [esi*4]
cmp dword [edi + eax], ebx
je 0x4390c7
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4390bd
cmp dword [eax], 0
jne 0x4390c7
cmp ebx, dword [esp + 0x2c]
jne 0x43921c
mov ecx, dword [esp + 0x30]
mov eax, esi
cdq
idiv ecx
mov esi, dword [esp + 0x6c]
sub esi, eax
cmp dword [esp + 0x50], esi
jg 0x439218
sub ecx, edx
cmp dword [esp + 0x40], ecx
jg 0x439218
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov byte [esp + 0x11], 1
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x48], ebx
jle 0x43917b
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
sub edx, eax
mov byte [esp + 0x11], 1
mov ecx, esi
mov dword [esp + 0x44], 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 0x439146
cmp dword [esp + 0x38], 0
je 0x43913c
mov edi, dword [esp + 0x60]
cmp dword [edi + eax], 0
jne 0x439146
cmp edx, dword [esp + 0x2c]
jne 0x43920f
inc ebx
cmp ebx, dword [esp + 0x40]
jge 0x439150
inc esi
jmp 0x439165
mov edx, dword [esp + 0x30]
lea esi, [edx*4]
add dword [esp + 0x44], esi
xor ebx, ebx
add ecx, edx
mov esi, ecx
mov edx, dword [esp + 0x28]
inc edx
add eax, 4
mov dword [esp + 0x28], edx
cmp edx, dword [esp + 0x48]
jl 0x439120
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x4c]
push ecx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esp + 0x70]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push edx
call ebx
mov edi, dword [esp + 0x74]
test edi, edi
je 0x4391b4
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4391ad
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4391bf
push eax
call ebx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4391d0
push eax
call fcn.00484e18
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4391e1
push eax
call fcn.00484e18
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x438df4
push eax
call fcn.00484e18
add esp, 4
cmp byte [esp + 0x11], 0
jne 0x439423
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ebx, dword [esp + 0x3c]
mov byte [esp + 0x11], 0
mov esi, dword [esp + 0x20]
inc esi
mov dword [esp + 0x20], esi
cmp esi, dword [esp + 0x54]
jl 0x4390a0
jmp 0x439408
xor esi, esi
mov dword [esp + 0x20], esi
test edx, edx
jle 0x439408
mov edi, edi
mov eax, esi
cdq
idiv dword [esp + 0x30]
mov ecx, dword [esp + 0x6c]
sub ecx, eax
cmp dword [esp + 0x50], ecx
jg 0x4393f9
mov eax, dword [esp + 0x30]
sub eax, edx
cmp dword [esp + 0x40], eax
jg 0x4393f9
xor eax, eax
mov byte [esp + 0x11], 1
mov dword [esp + 0x58], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], esi
cmp dword [esp + 0x48], eax
jle 0x43917b
mov eax, dword [esp + 0x38]
lea ecx, [esi*4]
sub eax, edi
mov byte [esp + 0x11], 1
mov dword [esp + 0x3c], 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 0x4392b4
mov byte [esp + 0x12], 0
jmp 0x4392bc
mov cl, al
sub cl, bl
mov byte [esp + 0x12], cl
movzx ecx, dl
cmp ebx, ecx
jle 0x4392ca
mov byte [esp + 0x1f], 0
jmp 0x4392d4
mov dl, cl
sub dl, byte [esp + 0x18]
mov byte [esp + 0x1f], dl
movzx edx, byte [edi]
mov dword [esp + 0x5c], edx
cmp dword [esp + 0x18], edx
jle 0x4392e8
mov byte [esp + 0x1c], 0
jmp 0x4392f4
mov dl, byte [esp + 0x5c]
sub dl, byte [esp + 0x18]
mov byte [esp + 0x1c], dl
mov edx, dword [esp + 0x18]
mov ebx, 0xff
mov esi, ebx
sub esi, eax
cmp edx, esi
jle 0x43930b
mov byte [esp + 0x1e], bl
jmp 0x439311
add al, dl
mov byte [esp + 0x1e], al
mov eax, ebx
sub eax, ecx
cmp edx, eax
jle 0x43931f
mov byte [esp + 0x1d], bl
jmp 0x439325
add cl, dl
mov byte [esp + 0x1d], cl
mov ecx, dword [esp + 0x5c]
mov eax, ebx
sub eax, ecx
cmp edx, eax
jle 0x439337
mov byte [esp + 0x13], bl
jmp 0x43933e
lea eax, [ecx + edx]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x44]
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 0x439375
cmp cl, byte [esp + 0x1e]
ja 0x439375
cmp dl, byte [esp + 0x1f]
jb 0x439375
cmp dl, byte [esp + 0x1d]
ja 0x439375
cmp al, byte [esp + 0x1c]
jb 0x439375
cmp al, byte [esp + 0x13]
jbe 0x43938e
cmp dword [esp + 0x38], 0
je 0x439386
mov ecx, dword [esp + 0x60]
cmp dword [edi + ecx], 0
jne 0x43938e
mov edx, dword [esp + 0x2c]
cmp dword [edi], edx
jne 0x4393e8
mov eax, dword [esp + 0x58]
inc eax
mov dword [esp + 0x58], eax
cmp eax, dword [esp + 0x40]
jge 0x4393a4
inc esi
mov dword [esp + 0x44], esi
jmp 0x4393c9
mov eax, dword [esp + 0x30]
lea ecx, [eax*4]
add dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x28]
inc eax
add edi, 4
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x48]
jge 0x439177
mov ebx, dword [esp + 0x18]
jmp 0x4392a2
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x20]
mov byte [esp + 0x11], 0
inc esi
mov dword [esp + 0x20], esi
cmp esi, dword [esp + 0x54]
jl 0x439240
mov eax, dword [0x4aa51c]
push 1
push 0
push 0xffffffffffffffff
push 0x499ee8
push eax
call fcn.00474ce0
jmp 0x43917b
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x43944a
mov eax, esi
cdq
idiv dword [esp + 0x30]
push 0x18
mov eax, edx
sub eax, dword [esp + 0x68]
add eax, dword [ebp + 0xc]
cdq
push edx
push eax
mov eax, ecx
call fcn.004010d0
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x43946f
mov eax, esi
cdq
idiv dword [esp + 0x30]
push 0x18
sub eax, dword [esp + 0x6c]
add eax, dword [ebp + 0x10]
cdq
push edx
push eax
mov eax, ecx
call fcn.004010d0
mov eax, dword [0x4aa51c]
push 1
push 0
push 0xffffffffffffffff
push 0x498884
push eax
call fcn.00474ce0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp + 8]
push 0x4987f9
push 0
push 0x49a030
call fcn.0042e170
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18