Function at 0x439df0
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 [0x4ae1b8]
mov al, 1
cmp al, byte [edx + 1]
push ebx
push esi
sbb esi, esi
and esi, dword [0x4ae1bc]
push edi
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], esi
test ecx, ecx
je 0x439e2c
call fcn.00414da0
test esi, esi
je 0x439e37
mov ecx, esi
call fcn.00414da0
mov eax, dword [0x4aa988]
movzx edi, word [eax + 0xd0]
xor esi, esi
xor ebx, ebx
and edi, 3
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], ebx
cmp edi, 2
je 0x439ebf
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [esp + 0x14], eax
test eax, eax
je 0x439ebf
mov ecx, eax
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x439ebf
test edi, edi
jne 0x439e88
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x7c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x439ea8
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 0x439ebf
add esi, dword [esp + 0x7c]
add ebx, dword [esp + 0x80]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], 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 + 0x2c], eax
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call fcn.0048a253
mov esi, eax
add esp, 8
test esi, esi
je 0x439f46
inc esi
push 0x4a0d84
push esi
call fcn.00487ed1
add esp, 8
test eax, eax
je 0x439f30
push 0x4a0d88
push esi
call fcn.00487ed1
add esp, 8
test eax, eax
je 0x439f30
push 0x4a0d8c
push esi
call fcn.00487ed1
add esp, 8
test eax, eax
jne 0x439f46
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call esi
push 0x32
mov dword [esp + 0x2c], eax
call esi
mov dword [esp + 0x2c], eax
mov ebx, edi
mov al, byte [ebx]
cmp al, 0x20
je 0x439f52
cmp al, 9
jne 0x439f55
inc ebx
jmp 0x439f48
cmp byte [ebx], 0x2a
jne 0x43a20a
movsx eax, byte [ebx + 1]
inc ebx
push eax
call fcn.0048a47b
add esp, 4
cmp eax, 0x48
je 0x43a122
cmp eax, 0x57
je 0x43a0b4
push 4
push str.Icon
push ebx
call fcn.0048828d
add esp, 0xc
test eax, eax
jne 0x439fc5
add ebx, 4
mov eax, ebx
call fcn.0040edf0
test al, al
je 0x439fb6
push 0x10
push 0
push ebx
call fcn.00489975
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x43a18a
push ebx
call fcn.00489456
mov dword [esp + 0x18], eax
jmp 0x43a187
push 5
push str.Trans
push ebx
call fcn.0048828d
add esp, 0xc
test eax, eax
jne 0x43a060
push 0x1f
add ebx, 5
lea ecx, [esp + 0xac]
push ebx
push ecx
call fcn.0048ab90
add esp, 0xc
mov edi, 0x49d1bc
lea eax, [esp + 0xa8]
mov byte [esp + 0xc7], 0
call fcn.00409bf0
test eax, eax
je 0x43a013
mov byte [eax], 0
lea esi, [esp + 0xa8]
call fcn.00475af0
cmp eax, 0xffffffff
jne 0x43a03c
push 0x10
mov edx, esi
push 0
push edx
call fcn.00489975
add esp, 0xc
mov dword [esp + 0x34], eax
jmp 0x43a18a
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 + 0x34], ecx
jmp 0x43a18a
mov eax, ebx
call fcn.0040edf0
test al, al
je 0x43a07e
push 0x10
push 0
push ebx
call fcn.00489975
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x43a08b
push ebx
call fcn.00489456
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
jns 0x43a09c
mov dword [esp + 0x24], 0
jmp 0x43a18a
cmp eax, 0xff
jle 0x43a18a
mov dword [esp + 0x24], 0xff
jmp 0x43a18a
lea esi, [ebx + 1]
mov eax, esi
lea esp, [esp]
mov cl, byte [eax]
cmp cl, 0x20
je 0x43a0cc
cmp cl, 9
jne 0x43a0cf
inc eax
jmp 0x43a0c0
mov cl, byte [eax]
test cl, cl
je 0x43a116
cmp cl, 0x2d
je 0x43a0df
cmp cl, 0x2b
jne 0x43a0e0
inc eax
cmp byte [eax], 0x30
jne 0x43a116
mov cl, byte [eax + 1]
cmp cl, 0x78
je 0x43a0f2
cmp cl, 0x58
jne 0x43a116
movsx ecx, byte [eax + 2]
push ecx
call fcn.0048971a
add esp, 4
test eax, eax
je 0x43a116
push 0x10
push 0
push esi
call fcn.00489975
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x43a18a
push esi
call fcn.00489456
mov dword [esp + 0x2c], eax
jmp 0x43a187
lea esi, [ebx + 1]
mov eax, esi
mov cl, byte [eax]
cmp cl, 0x20
je 0x43a133
cmp cl, 9
jne 0x43a136
inc eax
jmp 0x43a127
mov cl, byte [eax]
test cl, cl
je 0x43a17d
cmp cl, 0x2d
je 0x43a146
cmp cl, 0x2b
jne 0x43a147
inc eax
cmp byte [eax], 0x30
jne 0x43a17d
mov cl, byte [eax + 1]
cmp cl, 0x78
je 0x43a159
cmp cl, 0x58
jne 0x43a17d
movsx edx, byte [eax + 2]
push edx
call fcn.0048971a
add esp, 4
test eax, eax
je 0x43a17d
push 0x10
push 0
push esi
call fcn.00489975
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x43a18a
push esi
call fcn.00489456
mov dword [esp + 0x30], eax
add esp, 4
test ebx, ebx
je 0x43a1b4
mov dl, byte [ebx]
test dl, dl
je 0x43a1b4
mov ecx, 0x49d1bc
mov al, 0x20
jmp 0x43a1a0
cmp dl, al
je 0x43a1e6
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x43a1a0
mov dl, byte [ebx + 1]
inc ebx
test dl, dl
jne 0x43a194
mov edx, dword [0x4aa988]
test byte [edx + 0xe0], 1
jne 0x43a87c
mov eax, dword [0x4aea7c]
push 1
push 0
push 0xffffffffffffffff
push 0x49d1f0
push eax
call fcn.00477bd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
lea edi, [ebx + 1]
mov eax, edi
jmp 0x43a1f0
mov cl, byte [eax]
cmp cl, 0x20
je 0x43a1fc
cmp cl, 9
jne 0x43a1ff
inc eax
jmp 0x43a1f0
cmp byte [eax], 0x2a
mov ebx, eax
je 0x439f5e
mov ecx, dword [esp + 0x14]
xor ebx, ebx
push ebx
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x34]
push ebx
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x50]
push edx
push eax
push ecx
push edi
call fcn.00475ff0
mov esi, eax
add esp, 0x20
mov dword [esp + 0x78], esi
cmp esi, ebx
je 0x43a1b4
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
mov dword [esp + 0x50], edi
cmp edi, ebx
jne 0x43a277
cmp byte [esp + 0x20], bl
jne 0x43a1b4
cmp dword [esp + 0x40], 1
push esi
jne 0x43a26c
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x43a1b4
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x43a1b4
cmp dword [esp + 0x40], 1
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x70], ebx
mov byte [esp + 0x11], bl
jne 0x43a303
lea edx, [esp + 0x94]
push edx
push esi
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x43a2ec
push 1
lea eax, [esp + 0x16]
push eax
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x50]
push edx
push eax
mov eax, edi
call fcn.004393d0
mov ecx, dword [esp + 0xb8]
add esp, 0x14
push ecx
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0xa0]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call fcn.00476a20
mov esi, eax
add esp, 4
mov dword [esp + 0x78], eax
cmp esi, ebx
je 0x43a1b4
push 8
lea eax, [esp + 0x16]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x50]
push edx
push esi
mov eax, edi
call fcn.004393d0
add esp, 0x14
mov dword [esp + 0x3c], eax
cmp eax, ebx
je 0x43a773
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x18]
mov eax, dword [esp + 0x50]
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 + 0x6c], edi
test edi, edi
je 0x43a773
mov ecx, dword [esp + 0x50]
push ebx
push esi
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x14], eax
test eax, eax
je 0x43a773
mov edx, eax
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x70], eax
test eax, eax
je 0x43a773
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x50]
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 0x43a773
push 8
lea eax, [esp + 0x17]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x3c]
push edx
push eax
mov eax, edi
call fcn.004393d0
mov edx, eax
add esp, 0x14
mov dword [esp + 0x2c], edx
test edx, edx
je 0x43a773
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x30]
imul ecx, dword [esp + 0x4c]
imul esi, dword [esp + 0x68]
cmp byte [esp + 0x12], 0
mov dword [esp + 0x54], ecx
mov dword [esp + 0x40], esi
jne 0x43a3fe
cmp byte [esp + 0x13], 0
je 0x43a43e
cmp dword [esp + 0x34], 0xffffffff
je 0x43a40d
and dword [esp + 0x34], 0xf8f8f8
xor eax, eax
test esi, esi
jle 0x43a41f
and dword [edx + eax*4], 0xf8f8f8
inc eax
cmp eax, esi
jl 0x43a413
mov edi, dword [esp + 0x3c]
xor eax, eax
test ecx, ecx
jle 0x43a459
lea esp, [esp]
and dword [edi + eax*4], 0xf8f8f8
inc eax
cmp eax, ecx
jl 0x43a430
jmp 0x43a442
mov edi, dword [esp + 0x3c]
test ecx, ecx
jle 0x43a459
lea eax, [edi + 3]
lea esp, [esp]
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x43a450
mov ebx, dword [esp + 0x24]
cmp ebx, 1
jge 0x43a58b
test esi, esi
jle 0x43a479
lea eax, [edx + 3]
mov ecx, esi
nop
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x43a470
xor ecx, ecx
mov dword [esp + 0x18], ecx
test esi, esi
jle 0x43a75c
mov ebx, dword [edi]
mov dword [esp + 0x58], ebx
lea ecx, [ecx]
mov edx, dword [esp + 0x2c]
lea edi, [ecx*4]
cmp dword [edi + edx], ebx
je 0x43a4b7
mov eax, dword [esp + 0x38]
test eax, eax
je 0x43a4ad
cmp dword [eax], 0
jne 0x43a4b7
cmp ebx, dword [esp + 0x34]
jne 0x43a579
mov eax, ecx
mov ecx, dword [esp + 0x30]
cdq
idiv ecx
mov esi, dword [esp + 0x68]
sub esi, eax
cmp dword [esp + 0x4c], esi
jg 0x43a571
sub ecx, edx
cmp dword [esp + 0x44], ecx
jg 0x43a571
mov esi, dword [esp + 0x18]
xor ebx, ebx
mov byte [esp + 0x11], 1
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x54], ebx
jle 0x43a773
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
sub edx, eax
mov byte [esp + 0x11], 1
mov ecx, esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x5c], edx
mov edi, edi
mov edx, dword [eax]
mov edi, dword [esp + 0x2c]
cmp dword [edi + esi*4], edx
je 0x43a532
cmp dword [esp + 0x38], 0
je 0x43a52c
mov edi, dword [esp + 0x5c]
cmp dword [edi + eax], 0
jne 0x43a532
cmp edx, dword [esp + 0x34]
jne 0x43a568
inc ebx
cmp ebx, dword [esp + 0x44]
jge 0x43a53c
inc esi
jmp 0x43a551
mov edx, dword [esp + 0x30]
lea esi, [edx*4]
add dword [esp + 0x48], 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 + 0x54]
jl 0x43a510
jmp 0x43a773
mov ebx, dword [esp + 0x58]
mov byte [esp + 0x11], 0
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x40]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, esi
jl 0x43a490
jmp 0x43a75c
xor ecx, ecx
mov dword [esp + 0x18], ecx
test esi, esi
jle 0x43a75c
lea esp, [esp]
mov eax, ecx
cdq
idiv dword [esp + 0x30]
mov edi, dword [esp + 0x68]
sub edi, eax
cmp dword [esp + 0x4c], edi
jg 0x43a74f
mov eax, dword [esp + 0x30]
sub eax, edx
cmp dword [esp + 0x44], eax
jg 0x43a74f
mov esi, dword [esp + 0x18]
xor eax, eax
mov byte [esp + 0x11], 1
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], eax
cmp dword [esp + 0x54], eax
jle 0x43a773
mov eax, dword [esp + 0x3c]
mov ecx, esi
mov dword [esp + 0x58], ecx
add ecx, ecx
add ecx, ecx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov byte [esp + 0x11], 1
mov edi, eax
mov dword [esp + 0x5c], ecx
movzx eax, byte [edi + 2]
mov cl, byte [edi + 1]
cmp ebx, eax
jle 0x43a619
mov byte [esp + 0x12], 0
jmp 0x43a627
mov ebx, dword [esp + 0x24]
mov dl, al
sub dl, byte [esp + 0x24]
mov byte [esp + 0x12], dl
movzx ecx, cl
mov dword [esp + 0x7c], ecx
cmp ebx, ecx
jle 0x43a639
mov byte [esp + 0x22], 0
jmp 0x43a63f
sub cl, bl
mov byte [esp + 0x22], cl
movzx edx, byte [edi]
cmp ebx, edx
jle 0x43a64d
mov byte [esp + 0x23], 0
jmp 0x43a655
mov cl, dl
sub cl, bl
mov byte [esp + 0x23], cl
mov ecx, 0xff
sub ecx, eax
cmp ebx, ecx
jle 0x43a667
mov byte [esp + 0x21], 0xff
jmp 0x43a66e
lea ecx, [eax + ebx]
mov byte [esp + 0x21], cl
mov ecx, dword [esp + 0x7c]
mov eax, 0xff
sub eax, ecx
cmp ebx, eax
jle 0x43a684
mov byte [esp + 0x1f], 0xff
jmp 0x43a68b
lea eax, [ecx + ebx]
mov byte [esp + 0x1f], al
mov ecx, 0xff
sub ecx, edx
cmp ebx, ecx
jle 0x43a69d
mov byte [esp + 0x13], 0xff
jmp 0x43a6a4
lea eax, [edx + ebx]
mov byte [esp + 0x13], al
mov edx, dword [esp + 0x2c]
mov al, byte [edx + esi*4 + 2]
mov cl, byte [edx + esi*4 + 1]
mov dl, byte [edx + esi*4]
cmp al, byte [esp + 0x12]
jb 0x43a6d7
cmp al, byte [esp + 0x21]
ja 0x43a6d7
cmp cl, byte [esp + 0x22]
jb 0x43a6d7
cmp cl, byte [esp + 0x1f]
ja 0x43a6d7
cmp dl, byte [esp + 0x23]
jb 0x43a6d7
cmp dl, byte [esp + 0x13]
jbe 0x43a6f0
cmp dword [esp + 0x38], 0
je 0x43a6e8
mov edx, dword [esp + 0x5c]
cmp dword [edi + edx], 0
jne 0x43a6f0
mov eax, dword [esp + 0x34]
cmp dword [edi], eax
jne 0x43a73e
mov eax, dword [esp + 0x48]
inc eax
mov dword [esp + 0x48], eax
cmp eax, dword [esp + 0x44]
jge 0x43a702
inc esi
jmp 0x43a723
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x58]
lea ecx, [eax*4]
add dword [esp + 0x74], ecx
add esi, eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x58], esi
mov eax, dword [esp + 0x28]
inc eax
add edi, 4
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x54]
jge 0x43a773
mov ebx, dword [esp + 0x24]
jmp 0x43a607
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x11], 0
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, esi
jl 0x43a5a0
mov ecx, dword [0x4aea7c]
push 1
push 0
push 0xffffffffffffffff
push 0x49cf30
push ecx
call fcn.00477bd0
mov edx, dword [esp + 0x50]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esp + 0x20], 0
jne 0x43a792
mov eax, dword [esp + 0x78]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [esp + 0x6c]
test edi, edi
je 0x43a7b1
mov eax, dword [esp + 0x70]
test eax, eax
je 0x43a7aa
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 0x43a7c0
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x43a7d1
push eax
call fcn.00487ee8
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x43a7e2
push eax
call fcn.00487ee8
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x43a1b4
push eax
call fcn.00487ee8
add esp, 4
cmp byte [esp + 0x11], 0
jne 0x43a80c
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x43a835
mov eax, dword [esp + 0x18]
cdq
idiv dword [esp + 0x30]
push 0x18
mov eax, edx
sub eax, dword [esp + 0x64]
add eax, dword [ebp + 0xc]
cdq
push edx
push eax
mov eax, ecx
call fcn.00401130
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x43a85c
mov eax, dword [esp + 0x18]
cdq
idiv dword [esp + 0x30]
push 0x18
sub eax, dword [esp + 0x68]
add eax, dword [ebp + 0x10]
cdq
push edx
push eax
mov eax, ecx
call fcn.00401130
mov ecx, dword [0x4aea7c]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8d8
push ecx
call fcn.00477bd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp + 8]
push 0x49b8bd
push 0
push 0x49d1f0
call fcn.0042f7e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18