Function at 0x4089b0
Capabilities:
Enumerate gui resources
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a876
mov eax, dword fs:[0]
push eax
sub esp, 0x99c
mov eax, dword [0x43c06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 2
push 0xffffffffffffffff
push 0x100c
push dword [0x43df78]
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x408a15
push 0x40
push 0x438170
push str.HQx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x408eb8
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0040e510
add esp, 0xc
mov dword [ebp - 0x984], 1
lea eax, [ebp - 0x218]
mov dword [ebp - 0x974], 0x104
mov dword [ebp - 0x978], eax
lea eax, [ebp - 0x98c]
push eax
push esi
push 0x1073
push dword [0x43df78]
call ebx
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408a70
sub ecx, edx
sar ecx, 1
jne 0x408a9a
push 0x10
push 0x437fe4
push 0x43818c
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x408eb8
mov esi, dword [0x43e360]
mov edi, dword [0x43e364]
cmp esi, edi
je 0x408ad5
nop word [eax + eax]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x408aba
mov eax, dword [esi]
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.00413e4f
add esp, 8
test eax, eax
je 0x408b16
add esi, 0x18
cmp esi, edi
jne 0x408ab0
push 0x104
lea eax, [ebp - 0x620]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x620]
push 0x5c
push eax
call fcn.0040d8f5
add esp, 8
test eax, eax
jne 0x408b2f
push 0x10
push 0x437fe4
push 0x4381bc
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x408eb8
push 0x40
push 0x438170
push str.dk_vz
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x408eb8
xor ecx, ecx
mov dword [ebp - 0x990], 7
mov word [eax + 2], cx
xor eax, eax
mov dword [ebp - 0x994], ecx
lea ecx, [ebp - 0x620]
mov word [ebp - 0x9a4], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408b57
sub ecx, edx
lea eax, [ebp - 0x620]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x9a4]
call fcn.00409370
push ecx
lea edx, [ebp - 0x9a4]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x94c]
call fcn.00409520
add esp, 4
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x990]
cmp edx, 8
jb 0x408bd9
mov ecx, dword [ebp - 0x9a4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408bcf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ed4
push edx
push ecx
call fcn.0040c376
add esp, 8
xor eax, eax
mov dword [ebp - 0x994], 0
cmp dword [ebp - 0x938], 8
mov word [ebp - 0x9a4], ax
lea eax, [ebp - 0x94c]
cmovae eax, dword [ebp - 0x94c]
push 0x438054
push eax
lea eax, [ebp - 0x950]
mov dword [ebp - 0x990], 7
push eax
call fcn.00414ae0
add esp, 0xc
test eax, eax
jne 0x408db4
push 2
push eax
push dword [ebp - 0x950]
call fcn.00414ef9
add esp, 0xc
mov bl, 1
push dword [ebp - 0x950]
call fcn.00414a1f
add esp, 4
test eax, eax
jle 0x408c86
push 2
push 0xffffffffffffffff
push dword [ebp - 0x950]
call fcn.00414ef9
add esp, 0xc
lea eax, [ebp - 0x931]
push dword [ebp - 0x950]
push 1
push 1
push eax
call fcn.0041522c
add esp, 0x10
cmp eax, 1
jne 0x408c86
cmp byte [ebp - 0x931], 0xa
setne bl
push dword [ebp - 0x950]
call fcn.00414b9e
add esp, 4
lea eax, [ebp - 0x94c]
cmp dword [ebp - 0x938], 8
cmovae eax, dword [ebp - 0x94c]
push 0x4381d4
push eax
lea eax, [ebp - 0x950]
push eax
call fcn.00414ae0
add esp, 0xc
test eax, eax
jne 0x408da3
push 0x30c
push eax
lea eax, [ebp - 0x930]
push eax
call fcn.0040e510
add esp, 0xc
lea eax, [ebp - 0x930]
push 0
push 0
push 0x30c
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x218]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test bl, bl
je 0x408d17
push 0x437ef8
push dword [ebp - 0x950]
call fcn.00406bc0
add esp, 8
lea eax, [ebp - 0x930]
push eax
push 0x4381d8
push dword [ebp - 0x950]
call fcn.00406bc0
add esp, 0xc
push dword [ebp - 0x950]
call fcn.00414b9e
add esp, 4
call fcn.00407850
call fcn.00407c00
push 0
push 0
push 0x1009
push dword [0x43df78]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x43e354]
push 0
push 0x407370
mov dword [0x43e358], eax
call dword [sym.imp.USER32.dll_EnumWindows]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x418]
push 0x4381dc
push eax
call fcn.00409500
add esp, 0xc
lea eax, [ebp - 0x418]
push 0x40
push 0x438010
push eax
jmp 0x408e74
push 0x10
push 0x437fe4
push 0x4381fc
jmp 0x408e74
cmp dword [ebp - 0x938], 8
lea eax, [ebp - 0x94c]
push 0x438210
cmovae eax, dword [ebp - 0x94c]
push eax
lea eax, [ebp - 0x950]
push eax
call fcn.00414ae0
add esp, 0xc
test eax, eax
jne 0x408e68
push 0x30c
push eax
lea eax, [ebp - 0x930]
push eax
call fcn.0040e510
add esp, 0xc
lea eax, [ebp - 0x930]
push 0
push 0
push 0x30c
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x218]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x930]
push eax
push 0x4381d8
push dword [ebp - 0x950]
call fcn.00406bc0
add esp, 0xc
push dword [ebp - 0x950]
call fcn.00414b9e
add esp, 4
call fcn.00407850
call fcn.00407c00
push 0
push 0
push 0x1009
push dword [0x43df78]
call ebx
jmp 0x408d5e
push 0x10
push 0x437fe4
push 0x438214
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0x938]
cmp edx, 8
jb 0x408eb8
mov ecx, dword [ebp - 0x94c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408eae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ed9
push edx
push ecx
call fcn.0040c376
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040c07f
mov esp, ebp
pop ebp
ret
call fcn.0041434b
call fcn.0041434b
int3