Function at 0x40875b
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421c41
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x12b4
call fcn.0041d134
mov eax, dword [0x426a58]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x12b8], eax
test eax, eax
jne 0x4087a8
mov eax, 0x80070057
jmp 0x408fe2
xor esi, esi
mov dword [ebp - 0x12b4], esi
lea eax, [ebp - 0x12c0]
mov dword [ebp - 4], esi
push eax
push 0x405646
mov dword [ebp - 0x12c0], esi
mov byte [ebp - 0x12bc], 1
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x12c0]
test eax, eax
jne 0x4087e6
mov edi, 0x80004005
jmp 0x408fcf
lea ecx, [ebp - 0x12b4]
push ecx
push 0
push 0x406484
push eax
push method.Ofc::TMap_unsigned_long_int__void__.virtual_8
call fcn.004053eb
mov esi, dword [ebp - 0x12b4]
mov edi, eax
test edi, edi
js 0x408fcf
push esi
call fcn.004062b4
test al, al
je 0x408834
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x40882a
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, 0x80004005
jmp 0x408fe2
mov dword [ebp - 0x12a0], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x12a0]
push ecx
push esi
mov byte [ebp - 4], 1
call dword [eax + 0x78]
mov edi, eax
test edi, edi
js 0x408fbc
mov dword [ebp - 0x129c], 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x12a0]
lea eax, [ebp - 0x129c]
mov byte [ebp - 4], 2
push eax
call fcn.00413939
test eax, eax
js 0x408fa8
mov eax, dword [ebp - 0x129c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
je 0x409025
mov eax, dword [ebp - 0x129c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xd8]
cmp eax, 1
jne 0x409025
lea eax, [ebp - 0x118]
mov dword [ebp - 0x11c], 0x102
mov dword [ebp - 0x128], 0x42c1dc
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], 0x102
xor eax, eax
mov word [ebp - 0x118], ax
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x12a0]
call fcn.00405224
mov dword [ebp - 0x12a4], 0
push 0x17
push 0
push str.QyPs
lea ecx, [ebp - 0x12a4]
mov byte [ebp - 4], 6
call fcn.0040819a
mov edi, eax
test edi, edi
js 0x408f82
mov eax, dword [ebp - 0x12a4]
push dword [ebp - 0x124]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov edi, eax
test edi, edi
jns 0x40899a
mov eax, dword [ebp - 0x12a4]
mov byte [ebp - 4], 7
test eax, eax
je 0x408958
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x128]
call fcn.004014db
mov eax, dword [ebp - 0x129c]
mov byte [ebp - 4], 1
test eax, eax
je 0x408977
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x12a0]
test ecx, ecx
je 0x408988
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esi]
push esi
mov dword [ebp - 4], 0xffffffff
call dword [ecx + 8]
jmp 0x408fe0
mov dword [ebp - 0x12a8], 0
mov eax, dword [ebp - 0x12a4]
lea edx, [ebp - 0x12a8]
push edx
push eax
mov byte [ebp - 4], 8
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov edi, eax
test edi, edi
jns 0x408a2b
mov eax, dword [ebp - 0x12a8]
mov byte [ebp - 4], 9
test eax, eax
je 0x4089d5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x12a4]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x4089e9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x128]
call fcn.004014db
mov eax, dword [ebp - 0x129c]
mov byte [ebp - 4], 1
test eax, eax
je 0x408a08
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x12a0]
test ecx, ecx
je 0x408a19
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esi]
push esi
mov dword [ebp - 4], 0xffffffff
call dword [ecx + 8]
jmp 0x408fe0
mov dword [ebp - 0x12b0], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x12b0]
push ecx
push esi
mov byte [ebp - 4], 0xb
call dword [eax + 0x74]
mov ebx, eax
test ebx, ebx
jns 0x408ac7
mov eax, dword [ebp - 0x12b0]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
je 0x408a5f
push eax
call edi
mov eax, dword [ebp - 0x12a8]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x408a73
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x12a4]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x408a87
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x128]
call fcn.004014db
mov eax, dword [ebp - 0x129c]
mov byte [ebp - 4], 1
test eax, eax
je 0x408aa6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x12a0]
test ecx, ecx
je 0x408ab3
push ecx
call edi
mov ecx, dword [esi]
push esi
mov dword [ebp - 4], 0xffffffff
call dword [ecx + 8]
mov eax, ebx
jmp 0x408fe2
push dword [0x42c3c0]
mov ebx, dword [ebp - 0x12a8]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x12ac], edi
push dword [ebp - 0x12b0]
mov eax, dword [ebx]
push edi
push ebx
mov byte [ebp - 4], 0xe
call dword [eax + 0x20]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x12ac], eax
test edi, edi
je 0x408b0b
push edi
call ebx
mov eax, dword [ebp - 0x12ac]
test eax, eax
jns 0x408b88
mov eax, dword [ebp - 0x12b0]
test eax, eax
je 0x408b1c
push eax
call ebx
mov eax, dword [ebp - 0x12a8]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x408b30
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x12a4]
mov byte [ebp - 4], 0x10
test eax, eax
je 0x408b44
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x128]
call fcn.004014db
mov eax, dword [ebp - 0x129c]
mov byte [ebp - 4], 1
test eax, eax
je 0x408b63
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x12a0]
test ecx, ecx
je 0x408b70
push ecx
call ebx
mov ecx, dword [esi]
push esi
mov dword [ebp - 4], 0xffffffff
call dword [ecx + 8]
mov eax, dword [ebp - 0x12ac]
jmp 0x408fe2
lea eax, [ebp - 0x1288]
mov dword [ebp - 0x128c], 0x104a
mov dword [ebp - 0x1298], 0x42c1dc
mov dword [ebp - 0x1294], eax
mov dword [ebp - 0x1290], 0x104a
xor eax, eax
mov word [ebp - 0x1288], ax
push 3
push dword [ebp - 0x12a0]
mov byte [ebp - 4], 0x12
call dword [sym.imp.SHLWAPI.dll_UrlIsW]
test eax, eax
je 0x408cd5
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], 0x102
mov dword [ebp - 0x23c], 0x42c1dc
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0x102
xor eax, eax
mov word [ebp - 0x22c], ax
push eax
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 0x14
push eax
push dword [ebp - 0x12a0]
call fcn.00409bad
push dword [ebp - 0x238]
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push 0x3a000000
lea eax, [ebp - 0x1298]
push eax
push dword [ebp - 0x238]
call fcn.00405d54
lea ecx, [ebp - 0x23c]
mov edi, eax
call fcn.004014db
test edi, edi
jns 0x408dd9
lea ecx, [ebp - 0x1298]
call fcn.00403c7c
mov eax, dword [ebp - 0x12b0]
test eax, eax
je 0x408c6f
push eax
call ebx
mov eax, dword [ebp - 0x12a8]
mov byte [ebp - 4], 0x15
test eax, eax
je 0x408c83
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x12a4]
test eax, eax
je 0x408c97
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x128]
call fcn.004014db
mov eax, dword [ebp - 0x129c]
mov byte [ebp - 4], 1
test eax, eax
je 0x408cb6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x12a0]
test ecx, ecx
je 0x408cc3
push ecx
call ebx
mov ecx, dword [esi]
push esi
mov dword [ebp - 4], 0xffffffff
call dword [ecx + 8]
jmp 0x408fe0
mov eax, dword [ebp - 0x129c]
lea edx, [ebp - 0x12ac]
push 0
push edx
push 0
mov dword [ebp - 0x12ac], 0
mov ecx, dword [eax]
push 0x1f
push eax
call dword [ecx + 0x2c]
mov edi, eax
test edi, edi
jns 0x408d33
lea ecx, [ebp - 0x1298]
call fcn.00403c7c
mov eax, dword [ebp - 0x12b0]
test eax, eax
je 0x408d16
push eax
call ebx
mov eax, dword [ebp - 0x12a8]
mov byte [ebp - 4], 0x17
test eax, eax
je 0x408d2a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x18
jmp 0x408c87
mov ecx, dword [ebp - 0x12ac]
add ecx, 1
jns 0x408d44
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, 2
mul ecx
mov edi, eax
test edx, edx
jne 0x408d3e
cmp edi, 0xffffffff
ja 0x408d3e
cmp edi, 0x7fffffff
jbe 0x408d64
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp edi, dword [ebp - 0x1290]
jle 0x408d81
mov eax, dword [ebp - 0x1298]
lea edx, [ebp - 0x1298]
push 0
push edi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx]
mov eax, dword [ebp - 0x129c]
lea edx, [ebp - 0x12ac]
push 0
push edx
push dword [ebp - 0x1294]
mov ecx, dword [eax]
push 0x1f
push eax
call dword [ecx + 0x2c]
mov edi, eax
test edi, edi
jns 0x408dd9
lea ecx, [ebp - 0x1298]
call fcn.00403c7c
mov eax, dword [ebp - 0x12b0]
test eax, eax
je 0x408dbc
push eax
call ebx
mov eax, dword [ebp - 0x12a8]
mov byte [ebp - 4], 0x19
test eax, eax
je 0x408dd0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x1a
jmp 0x408c87
mov eax, dword [ebp - 0x12a8]
push dword [ebp - 0x1294]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x12ac], eax
call ebx
mov edi, eax
mov dword [ebp - 0x12c4], edi
push dword [0x42c3bc]
call ebx
mov ebx, eax
mov dword [ebp - 0x12bc], ebx
mov ecx, dword [ebp - 0x12ac]
push edi
push ebx
push ecx
mov eax, dword [ecx]
mov byte [ebp - 4], 0x1c
call dword [eax + 0x20]
mov dword [ebp - 0x12ac], eax
test ebx, ebx
je 0x408e32
push ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call ebx
jmp 0x408e38
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
je 0x408e3f
push edi
call ebx
mov edi, dword [ebp - 0x12ac]
test edi, edi
jns 0x408e7e
lea ecx, [ebp - 0x1298]
call fcn.00403c7c
mov eax, dword [ebp - 0x12b0]
test eax, eax
je 0x408e61
push eax
call ebx
mov eax, dword [ebp - 0x12a8]
mov byte [ebp - 4], 0x1d
test eax, eax
je 0x408e75
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x1e
jmp 0x408c87
push dword [0x42c3b8]
mov ebx, dword [ebp - 0x12a8]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x12bc], edi
push dword [ebp - 0x12b0]
mov eax, dword [ebx]
push edi
push ebx
mov byte [ebp - 4], 0x1f
call dword [eax + 0x20]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x12ac], eax
test edi, edi
je 0x408ebc
push edi
call ebx
mov edi, dword [ebp - 0x12ac]
test edi, edi
jns 0x408f3e
lea ecx, [ebp - 0x1298]
call fcn.00403c7c
mov eax, dword [ebp - 0x12b0]
test eax, eax
je 0x408ede
push eax
call ebx
mov eax, dword [ebp - 0x12a8]
mov byte [ebp - 4], 0x20
test eax, eax
je 0x408ef2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x12a4]
mov byte [ebp - 4], 0x21
test eax, eax
je 0x408f06
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x128]
call fcn.004014db
mov eax, dword [ebp - 0x129c]
mov byte [ebp - 4], 1
test eax, eax
je 0x408f25
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x12a0]
test eax, eax
je 0x408f32
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
jmp 0x408fda
mov ecx, dword [ebp - 0x12b8]
mov eax, dword [ebp - 0x12a4]
mov dword [ebp - 0x12a4], 0
mov dword [ecx], eax
lea ecx, [ebp - 0x1298]
call fcn.00403c7c
mov eax, dword [ebp - 0x12b0]
test eax, eax
je 0x408f6e
push eax
call ebx
mov eax, dword [ebp - 0x12a8]
mov byte [ebp - 4], 0x22
test eax, eax
je 0x408f82
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x12a4]
mov byte [ebp - 4], 0x23
test eax, eax
je 0x408f96
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x128]
call fcn.004014db
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x129c]
mov byte [ebp - 4], 1
test eax, eax
je 0x408fbc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x12a0]
test eax, eax
je 0x408fcf
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x408fe0
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041c61a
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x129c]
mov byte [ebp - 4], 1
test eax, eax
je 0x409039
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x12a0]
test eax, eax
je 0x40904a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi]
push esi
mov dword [ebp - 4], 0xffffffff
call dword [eax + 8]
mov eax, 0x80004005
jmp 0x408fe2