Function at 0x100049cd
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b1d3
mov eax, dword fs:[0]
push eax
mov eax, 0x1438
call fcn.10019d13
mov eax, dword [0x1002408c]
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
push 0
push 0
lea eax, [ebp - 0x1424]
push eax
push 0
push ecx
push 0
push 0x1300
call dword [sym.imp.kernel32.dll_FormatMessageW]
test eax, eax
je 0x10004f49
mov ebx, dword [ebp - 0x1424]
mov dword [ebp - 0x1428], ebx
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov dword [ebp - 0x143c], eax
lea eax, [ebp - 0x143c]
push eax
push 0x1000ae46
mov dword [ebp - 0x1434], 0
mov dword [ebp - 0x1438], 0
mov dword [ebp - 0x1430], 0x10040000
mov dword [ebp - 0x142c], 0x10040000
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x10024f00]
test eax, eax
jne 0x10004eb5
lea ecx, [ebp - 0x1414]
mov dword [ebp - 0x1414], eax
call fcn.10004294
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
push 0x20
mov dword [ebp - 0x1440], 0x1001f910
call edi
mov ecx, eax
add esp, 4
mov dword [ebp - 0x1418], ecx
test ecx, ecx
je 0x10004f65
mov dword [ebp - 0x1444], ecx
mov dword [ebp - 4], 0
mov dword [ecx + 4], 0xc
mov dword [ecx + 8], 7
mov dword [ecx + 0xc], 0xffffffff
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx], 0x1001e4cc
mov dword [ecx + 0x18], 0
mov byte [ebp - 4], 1
mov esi, 0x4204
mov eax, dword [ebp - 0x1414]
mov dword [ecx + 0x1c], eax
nop word [eax + eax]
push 0x1ff
lea eax, [ebp - 0x410]
push eax
push esi
push ebx
call dword [sym.imp.USER32.dll_LoadStringW]
mov dword [ebp - 0x1414], eax
test eax, eax
jle 0x10004bab
push 0xc
mov dword [ebp - 0x141c], 0x1001f910
call edi
mov edi, eax
add esp, 4
test edi, edi
je 0x10004f65
mov dword [ebp - 0x1420], edi
mov dword [edi], 0x10024164
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push 0
push 2
mov byte [ebp - 4], 3
mov eax, dword [0x10024164]
push edi
push 0x10024164
call dword [eax]
mov eax, dword [edi + 4]
lea edx, [ebp - 0x410]
xor ecx, ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x1414]
mov word [eax], cx
mov ecx, edi
call fcn.10004294
mov ecx, dword [ebp - 0x1418]
push esi
call fcn.10004294
mov dword [eax], edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
inc esi
cmp esi, 0x4267
jbe 0x10004b10
mov esi, 0x3ee4
nop dword [eax]
push 0x1ff
lea eax, [ebp - 0x810]
push eax
push esi
push ebx
call dword [sym.imp.USER32.dll_LoadStringW]
mov dword [ebp - 0x1414], eax
test eax, eax
jle 0x10004c55
push 0xc
mov dword [ebp - 0x1420], 0x1001f910
call edi
mov edi, eax
add esp, 4
test edi, edi
je 0x10004f65
mov dword [ebp - 0x141c], edi
mov dword [edi], 0x10024164
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push 0
push 2
mov byte [ebp - 4], 5
mov eax, dword [0x10024164]
push edi
push 0x10024164
call dword [eax]
mov eax, dword [edi + 4]
lea edx, [ebp - 0x810]
xor ecx, ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x1414]
mov word [eax], cx
mov ecx, edi
call fcn.10004294
mov ecx, dword [ebp - 0x1418]
push esi
call fcn.10004294
mov dword [eax], edi
inc esi
cmp esi, 0x3f47
ja 0x10004c69
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
jmp 0x10004bc0
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
mov esi, 0x3e80
push 0x1ff
lea eax, [ebp - 0xc10]
push eax
push esi
push ebx
call edi
mov dword [ebp - 0x1414], eax
test eax, eax
jle 0x10004d13
push 0xc
mov dword [ebp - 0x1420], 0x1001f910
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x10004f65
mov dword [ebp - 0x141c], edi
mov dword [edi], 0x10024164
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push 0
push 2
mov byte [ebp - 4], 7
mov eax, dword [0x10024164]
push edi
push 0x10024164
call dword [eax]
mov eax, dword [edi + 4]
lea edx, [ebp - 0xc10]
xor ecx, ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x1414]
mov word [eax], cx
mov ecx, edi
call fcn.10004294
mov ecx, dword [ebp - 0x1418]
push esi
call fcn.10004294
mov dword [eax], edi
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
inc esi
cmp esi, 0x3ee3
jbe 0x10004c74
mov esi, 0x3fac
nop word [eax + eax]
push 0x1ff
lea eax, [ebp - 0x1010]
push eax
push esi
push ebx
call edi
mov dword [ebp - 0x1414], eax
test eax, eax
jle 0x10004dcf
push 0xc
mov dword [ebp - 0x1420], 0x1001f910
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x10004f65
mov dword [ebp - 0x141c], edi
mov dword [edi], 0x10024164
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push 0
push 2
mov byte [ebp - 4], 9
mov eax, dword [0x10024164]
push edi
push 0x10024164
call dword [eax]
mov eax, dword [edi + 4]
lea edx, [ebp - 0x1010]
xor ecx, ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x1414]
mov word [eax], cx
mov ecx, edi
call fcn.10004294
mov ecx, dword [ebp - 0x1418]
push esi
call fcn.10004294
mov dword [eax], edi
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
inc esi
cmp esi, 0x400f
jbe 0x10004d30
mov esi, 0x4010
push 0x1ff
lea eax, [ebp - 0x1410]
push eax
push esi
push ebx
call edi
mov dword [ebp - 0x1414], eax
test eax, eax
jle 0x10004e80
push 0xc
mov dword [ebp - 0x1420], 0x1001f910
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x10004f65
mov dword [ebp - 0x141c], edi
mov dword [edi], 0x10024164
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push 0
push 2
mov byte [ebp - 4], 0xb
mov eax, dword [0x10024164]
push edi
push 0x10024164
call dword [eax]
mov eax, dword [edi + 4]
lea edx, [ebp - 0x1410]
xor ecx, ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x1414]
mov word [eax], cx
mov ecx, edi
call fcn.10004294
mov ecx, dword [ebp - 0x1418]
push esi
call fcn.10004294
mov dword [eax], edi
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
inc esi
cmp esi, 0x4073
jbe 0x10004de1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1418]
push ebx
mov dword [0x10024f00], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov eax, dword [0x10024f00]
mov ebx, dword [ebp - 0x1428]
test eax, eax
je 0x10004eba
mov eax, dword [eax + 0x1c]
jmp 0x10004ebf
mov eax, 0x409
movzx esi, ax
lea edx, [ebp - 0x1418]
mov ecx, esi
mov dword [ebp - 0x1418], 0xffffffff
call fcn.10004294
test eax, eax
js 0x10004f13
mov ecx, dword [ebp - 0x1418]
lea edx, [ebp - 0x1414]
mov dword [ebp - 0x1414], 0
call fcn.10004294
test eax, eax
js 0x10004f0f
test dword [ebp - 0x1414], 0x8000
je 0x10004f0f
mov eax, 1
jmp 0x10004f1a
xor eax, eax
jmp 0x10004f1a
mov ecx, esi
call fcn.1000d93b
test eax, eax
mov edx, 0x30
mov ecx, 0x180030
cmove ecx, edx
push ecx
call fcn.1000ac7e
push eax
push ebx
push dword [ebp - 0x1438]
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x1424]
call dword [sym.imp.kernel32.dll_LocalFree]
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.10018efe
mov esp, ebp
pop ebp
ret
call fcn.10004294
int3