Function at 0x408840
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e6e5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x43b040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 0xc]
push 0x40000
push 1
mov dword [ebp - 0x5c], edi
call fcn.0041124a
add esp, 4
push eax
call fcn.00419326
add esp, 4
push eax
call fcn.00419135
add esp, 8
cmp eax, 0xffffffff
je 0x4088d0
push 0x40000
push 2
call fcn.0041124a
add esp, 4
push eax
call fcn.00419326
add esp, 4
push eax
call fcn.00419135
add esp, 8
cmp eax, 0xffffffff
jne 0x4088e8
mov edx, str.Unable_to_set_stdout_and_or_stderr_modes_to_UTF8.
mov ecx, 0x43c298
call fcn.00406660
push eax
call fcn.0040a9e0
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
xorps xmm0, xmm0
mov dword [ebp - 0x60], ecx
xor eax, eax
mov dword [ebp - 0x1c], ecx
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x2c], ax
xor edx, edx
mov dword [ebp - 4], eax
mov esi, 1
mov dword [ebp - 0x64], edx
cmp dword [ebx + 8], esi
jle 0x4091d4
nop word [eax + eax]
mov edi, dword [edi + esi*4]
mov eax, 0x437acc
mov ecx, edi
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408956
test dx, dx
je 0x408952
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408956
add eax, 4
add ecx, 4
test dx, dx
jne 0x408930
xor eax, eax
jmp 0x40895b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40896c
mov edx, 1
mov dword [ebp - 0x64], edx
jmp 0x4091c4
mov ecx, edi
mov eax, str.find
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408999
test dx, dx
je 0x408995
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408999
add eax, 4
add ecx, 4
test dx, dx
jne 0x408973
xor eax, eax
jmp 0x40899e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x408a2b
inc esi
mov dword [ebp - 0x64], esi
cmp esi, dword [ebx + 8]
jge 0x409621
mov edi, dword [ebp - 0x5c]
mov edx, dword [edi + esi*4]
mov ecx, edx
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4089c0
mov eax, dword [ebp - 0x18]
sub ecx, edi
sar ecx, 1
cmp ecx, eax
ja 0x408a07
lea esi, [ecx + ecx]
mov dword [ebp - 0x1c], ecx
cmp eax, 7
lea edi, [ebp - 0x2c]
push esi
cmova edi, dword [ebp - 0x2c]
push edx
push edi
call fcn.0040db00
add esp, 0xc
mov edx, 2
xor eax, eax
mov word [esi + edi], ax
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x64], edx
jmp 0x4091c4
push edx
mov byte [ebp - 0x84], 0
push dword [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004046e0
mov edx, 2
mov dword [ebp - 0x64], edx
jmp 0x4091c4
mov ecx, edi
mov eax, str.process
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408a58
test dx, dx
je 0x408a54
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408a58
add eax, 4
add ecx, 4
test dx, dx
jne 0x408a32
xor eax, eax
jmp 0x408a5d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x408aeb
inc esi
mov dword [ebp - 0x64], esi
cmp esi, dword [ebx + 8]
jge 0x409621
mov edi, dword [ebp - 0x5c]
mov edx, dword [edi + esi*4]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408a80
mov eax, dword [ebp - 0x18]
sub ecx, edi
sar ecx, 1
cmp ecx, eax
ja 0x408ac7
lea esi, [ecx + ecx]
mov dword [ebp - 0x1c], ecx
cmp eax, 7
lea edi, [ebp - 0x2c]
push esi
cmova edi, dword [ebp - 0x2c]
push edx
push edi
call fcn.0040db00
add esp, 0xc
mov edx, 3
xor eax, eax
mov word [esi + edi], ax
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x64], edx
jmp 0x4091c4
push edx
mov byte [ebp - 0x88], 0
push dword [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004046e0
mov edx, 3
mov dword [ebp - 0x64], edx
jmp 0x4091c4
mov ecx, edi
mov eax, str.hwnd
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408b18
test dx, dx
je 0x408b14
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408b18
add eax, 4
add ecx, 4
test dx, dx
jne 0x408af2
xor eax, eax
jmp 0x408b1d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x408b73
inc esi
cmp esi, dword [ebx + 8]
jge 0x409621
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 0x43797c
mov edi, dword [edi + esi*4]
push edi
call fcn.00407e20
add esp, 0xc
cmp eax, 1
jne 0x409600
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409600
mov ecx, dword [ebp - 0x30]
mov edx, 4
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], edx
jmp 0x4091c7
mov ecx, edi
mov eax, str.children
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408ba6
test dx, dx
je 0x408ba2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408ba6
add eax, 4
add ecx, 4
test dx, dx
jne 0x408b80
xor eax, eax
jmp 0x408bab
sbb eax, eax
or eax, 1
test eax, eax
jne 0x408c01
inc esi
cmp esi, dword [ebx + 8]
jge 0x409621
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 0x43797c
mov edi, dword [edi + esi*4]
push edi
call fcn.00407e20
add esp, 0xc
cmp eax, 1
jne 0x409600
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409600
mov ecx, dword [ebp - 0x34]
mov edx, 5
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], edx
jmp 0x4091c7
mov ecx, edi
mov eax, str.settitle
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408c2e
test dx, dx
je 0x408c2a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408c2e
add eax, 4
add ecx, 4
test dx, dx
jne 0x408c08
xor eax, eax
jmp 0x408c33
sbb eax, eax
or eax, 1
test eax, eax
jne 0x408d05
inc esi
cmp esi, dword [ebx + 8]
jge 0x409621
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push 0x43797c
mov edi, dword [edi + esi*4]
push edi
call fcn.00407e20
add esp, 0xc
cmp eax, 1
jne 0x409600
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409600
mov eax, dword [ebp - 0x38]
inc esi
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], esi
cmp esi, dword [ebx + 8]
jge 0x40962d
mov edx, dword [eax + esi*4]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408ca0
mov eax, dword [ebp - 0x18]
sub ecx, edi
sar ecx, 1
cmp ecx, eax
ja 0x408ce7
lea esi, [ecx + ecx]
mov dword [ebp - 0x1c], ecx
cmp eax, 7
lea edi, [ebp - 0x2c]
push esi
cmova edi, dword [ebp - 0x2c]
push edx
push edi
call fcn.0040db00
add esp, 0xc
mov edx, 6
xor eax, eax
mov word [esi + edi], ax
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x64], edx
jmp 0x4091c4
push edx
mov byte [ebp - 0x80], 0
push dword [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004046e0
mov edx, 6
mov dword [ebp - 0x64], edx
jmp 0x4091c4
mov ecx, edi
mov eax, str.show
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408d36
test dx, dx
je 0x408d32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408d36
add eax, 4
add ecx, 4
test dx, dx
jne 0x408d10
xor eax, eax
jmp 0x408d3b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x408d95
mov eax, dword [ebp - 0x5c]
inc esi
cmp esi, dword [ebx + 8]
jge 0x40962d
mov edi, dword [eax + esi*4]
lea eax, [ebp - 0x3c]
push eax
push 0x43797c
push edi
mov dword [ebp - 0x3c], 0
call fcn.00407e20
add esp, 0xc
cmp eax, 1
jne 0x409600
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409600
mov ecx, dword [ebp - 0x3c]
mov edx, 7
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], edx
jmp 0x4091c7
mov ecx, edi
mov eax, str.showall
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408dc6
test dx, dx
je 0x408dc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408dc6
add eax, 4
add ecx, 4
test dx, dx
jne 0x408da0
xor eax, eax
jmp 0x408dcb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x408e25
mov eax, dword [ebp - 0x5c]
inc esi
cmp esi, dword [ebx + 8]
jge 0x40962d
mov edi, dword [eax + esi*4]
lea eax, [ebp - 0x40]
push eax
push 0x43797c
push edi
mov dword [ebp - 0x40], 0
call fcn.00407e20
add esp, 0xc
cmp eax, 1
jne 0x409600
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409600
mov ecx, dword [ebp - 0x40]
mov edx, 8
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], edx
jmp 0x4091c7
mov ecx, edi
mov eax, str.hide
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408e56
test dx, dx
je 0x408e52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408e56
add eax, 4
add ecx, 4
test dx, dx
jne 0x408e30
xor eax, eax
jmp 0x408e5b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x408eb5
mov eax, dword [ebp - 0x5c]
inc esi
cmp esi, dword [ebx + 8]
jge 0x40962d
mov edi, dword [eax + esi*4]
lea eax, [ebp - 0x44]
push eax
push 0x43797c
push edi
mov dword [ebp - 0x44], 0
call fcn.00407e20
add esp, 0xc
cmp eax, 1
jne 0x409600
push dword [ebp - 0x44]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409600
mov ecx, dword [ebp - 0x44]
mov edx, 9
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], edx
jmp 0x4091c7
mov ecx, edi
mov eax, str.hideall
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408ee6
test dx, dx
je 0x408ee2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408ee6
add eax, 4
add ecx, 4
test dx, dx
jne 0x408ec0
xor eax, eax
jmp 0x408eeb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x408f45
mov eax, dword [ebp - 0x5c]
inc esi
cmp esi, dword [ebx + 8]
jge 0x40962d
mov edi, dword [eax + esi*4]
lea eax, [ebp - 0x48]
push eax
push 0x43797c
push edi
mov dword [ebp - 0x48], 0
call fcn.00407e20
add esp, 0xc
cmp eax, 1
jne 0x409600
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409600
mov ecx, dword [ebp - 0x48]
mov edx, 0xa
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], edx
jmp 0x4091c7
mov ecx, edi
mov eax, 0x437b5c
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408f76
test dx, dx
je 0x408f72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408f76
add eax, 4
add ecx, 4
test dx, dx
jne 0x408f50
xor eax, eax
jmp 0x408f7b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x408fd5
mov eax, dword [ebp - 0x5c]
inc esi
cmp esi, dword [ebx + 8]
jge 0x40962d
mov edi, dword [eax + esi*4]
lea eax, [ebp - 0x4c]
push eax
push 0x43797c
push edi
mov dword [ebp - 0x4c], 0
call fcn.00407e20
add esp, 0xc
cmp eax, 1
jne 0x409600
push dword [ebp - 0x4c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409600
mov ecx, dword [ebp - 0x4c]
mov edx, 0xb
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], edx
jmp 0x4091c7
mov ecx, edi
mov eax, str.notop
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x409006
test dx, dx
je 0x409002
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x409006
add eax, 4
add ecx, 4
test dx, dx
jne 0x408fe0
xor eax, eax
jmp 0x40900b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x409065
mov eax, dword [ebp - 0x5c]
inc esi
cmp esi, dword [ebx + 8]
jge 0x40962d
mov edi, dword [eax + esi*4]
lea eax, [ebp - 0x50]
push eax
push 0x43797c
push edi
mov dword [ebp - 0x50], 0
call fcn.00407e20
add esp, 0xc
cmp eax, 1
jne 0x409600
push dword [ebp - 0x50]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409600
mov ecx, dword [ebp - 0x50]
mov edx, 0xc
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], edx
jmp 0x4091c7
mov ecx, edi
mov eax, str.click
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x409096
test dx, dx
je 0x409092
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x409096
add eax, 4
add ecx, 4
test dx, dx
jne 0x409070
xor eax, eax
jmp 0x40909b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4090f5
mov eax, dword [ebp - 0x5c]
inc esi
cmp esi, dword [ebx + 8]
jge 0x40962d
mov edi, dword [eax + esi*4]
lea eax, [ebp - 0x54]
push eax
push 0x43797c
push edi
mov dword [ebp - 0x54], 0
call fcn.00407e20
add esp, 0xc
cmp eax, 1
jne 0x409600
push dword [ebp - 0x54]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409600
mov ecx, dword [ebp - 0x54]
mov edx, 0xd
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], edx
jmp 0x4091c7
mov ecx, edi
mov eax, str.close
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x409126
test dx, dx
je 0x409122
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x409126
add eax, 4
add ecx, 4
test dx, dx
jne 0x409100
xor eax, eax
jmp 0x40912b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x409182
mov eax, dword [ebp - 0x5c]
inc esi
cmp esi, dword [ebx + 8]
jge 0x40962d
mov edi, dword [eax + esi*4]
lea eax, [ebp - 0x58]
push eax
push 0x43797c
push edi
mov dword [ebp - 0x58], 0
call fcn.00407e20
add esp, 0xc
cmp eax, 1
jne 0x409600
push dword [ebp - 0x58]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409600
mov ecx, dword [ebp - 0x58]
mov edx, 0xe
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], edx
jmp 0x4091c7
mov eax, 0x437b88
mov cx, word [eax]
cmp cx, word [edi]
jne 0x4091ad
test cx, cx
je 0x4091a9
mov cx, word [eax + 2]
cmp cx, word [edi + 2]
jne 0x4091ad
add eax, 4
add edi, 4
test cx, cx
jne 0x409187
xor eax, eax
jmp 0x4091b2
sbb eax, eax
or eax, 1
test eax, eax
jne 0x409636
mov edx, dword [ebp - 0x64]
mov byte [0x43cfb8], 1
mov ecx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x5c]
inc esi
cmp esi, dword [ebx + 8]
jl 0x408920
lea eax, [edx - 1]
cmp eax, 0xd
ja case.default.0x4091e0
jmp dword [eax*4 + 0x40964c]
call fcn.00408380
push 0
push 0x4086d0
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x40959d
call fcn.00408380
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push eax
push 0x4086f0
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x40959d
call fcn.00408380
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push eax
push 0x408800
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x40959d
call fcn.00408380
mov ecx, dword [ebp - 0x60]
xor edx, edx
call fcn.00409690
jmp 0x40959d
call fcn.00408380
mov eax, dword [ebp - 0x60]
push 0
push 0x4086d0
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x40959d
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x40959d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
push 1
mov edx, eax
lea ecx, [ebp - 0x7c]
call fcn.00404db0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x68], 7
lea edx, [ebp - 0x7c]
push dword [ebp - 0x6c]
cmova edx, dword [ebp - 0x7c]
mov ecx, 0x43c298
call fcn.00407b90
add esp, 0xc
push eax
call fcn.0040a9e0
mov ecx, dword [ebp - 0x68]
add esp, 4
cmp ecx, 7
jbe 0x40959d
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409593
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409645
jmp 0x409593
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindowAsync]
test eax, eax
jne 0x40959d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
push 1
mov edx, eax
lea ecx, [ebp - 0x7c]
call fcn.00404db0
mov byte [ebp - 4], 2
jmp 0x4092a1
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindowAsync]
test eax, eax
jne 0x4093b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
push 1
mov edx, eax
lea ecx, [ebp - 0x7c]
call fcn.00404db0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x7c]
cmp dword [ebp - 0x68], 7
mov ecx, 0x43c298
push dword [ebp - 0x6c]
cmova edx, dword [ebp - 0x7c]
call fcn.00407b90
add esp, 0xc
push eax
call fcn.0040a9e0
mov ecx, dword [ebp - 0x68]
add esp, 4
cmp ecx, 7
jbe 0x4093b1
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4093a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409645
push ecx
push edx
call fcn.0040c47d
add esp, 8
mov eax, dword [ebp - 0x60]
push 5
push 0x408820
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x40959d
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindowAsync]
test eax, eax
jne 0x40959d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
push 1
mov edx, eax
lea ecx, [ebp - 0x7c]
call fcn.00404db0
mov byte [ebp - 4], 4
jmp 0x4092a1
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindowAsync]
test eax, eax
jne 0x409476
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
push 1
mov edx, eax
lea ecx, [ebp - 0x7c]
call fcn.00404db0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x7c]
cmp dword [ebp - 0x68], 7
mov ecx, 0x43c298
push dword [ebp - 0x6c]
cmova edx, dword [ebp - 0x7c]
call fcn.00407b90
add esp, 0xc
push eax
call fcn.0040a9e0
mov ecx, dword [ebp - 0x68]
add esp, 4
cmp ecx, 7
jbe 0x409476
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40946c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409645
push ecx
push edx
call fcn.0040c47d
add esp, 8
mov eax, dword [ebp - 0x60]
push 0
push 0x408820
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x40959d
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
test eax, eax
jne 0x40959d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
push 1
mov edx, eax
lea ecx, [ebp - 0x7c]
call fcn.00404db0
mov byte [ebp - 4], 6
jmp 0x4092a1
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
test eax, eax
jne 0x40959d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
push 1
mov edx, eax
lea ecx, [ebp - 0x7c]
call fcn.00404db0
mov byte [ebp - 4], 7
jmp 0x4092a1
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push 0
push 0x1388
push 0
push 0x50005
push 1
push 0x201
push ecx
call esi
test eax, eax
je 0x40953b
mov eax, dword [ebp - 0x60]
push 0
push 0x1388
push 0
push 0x50005
push 0
push 0x202
push eax
call esi
test eax, eax
jne 0x40959d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
push 1
mov edx, eax
lea ecx, [ebp - 0x7c]
call fcn.00404db0
mov byte [ebp - 4], 8
jmp 0x4092a1
push 0
push 0x1388
push 0
push 0
push 0xf060
push 0x112
push ecx
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x40959d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
push 1
mov edx, eax
lea ecx, [ebp - 0x7c]
call fcn.00404db0
mov byte [ebp - 4], 9
jmp 0x4092a1
push ecx
push edx
call fcn.0040c47d
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x4095d7
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4095cd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409645
push ecx
push edx
call fcn.0040c47d
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040c43f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [edi]
xor edx, edx
call fcn.00407ed0
mov edx, str.Invalid_window_handle:
mov ecx, 0x43c298
call fcn.00406660
mov edx, edi
mov ecx, eax
call fcn.00406660
push eax
call fcn.0040a9e0
add esp, 4
mov eax, dword [ebp - 0x5c]
xor edx, edx
mov ecx, dword [eax]
call fcn.00407ed0
mov ecx, dword [eax]
xor edx, edx
call fcn.00407ed0
mov eax, dword [ebp - 0x5c]
mov edx, str.Unrecognized_command_line_option
mov ecx, dword [eax]
call fcn.00407ed0
call fcn.00411131
nop
out 0x91, eax
inc eax
add dh, bh
xchg ecx, eax
inc eax
add byte [edi], bl
xchg edx, eax
inc eax
add byte [eax - 0x6e], al
inc eax
add byte [edx + edx*4 + 0x40], dl
add byte [edi - 0x6e], ch
inc eax
add byte [edx], al
xchg ebx, eax
inc eax
add byte [edi], ch
xchg ebx, eax
inc eax
add bh, al
xchg ebx, eax
inc eax
add ah, dh
xchg ebx, eax
inc eax
add byte [esp + edx*4 - 0x6b3cffc0], cl
inc eax
add dl, bh
xchg esp, eax
inc eax
add byte [edi - 0x6b], dl
inc eax
add ah, cl
int3