Function at 0x1001499a
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x1024e014]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x1dc]
cmp eax, 0xffffffff
je 0x10014b5b
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10014b5b
mov ecx, dword [ebx + 0x1c]
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
test ecx, ecx
je 0x100148fb
mov eax, dword [ecx]
lea edx, [esp + 0x18]
push edx
call dword [eax + 0xb0]
mov esi, dword [esp + 0x18]
mov eax, esi
mov edi, dword [esp + 0x1c]
or eax, edi
je 0x100148fb
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
sub eax, esi
sbb edx, edi
push 0
push 0x15180
push edx
push eax
call fcn.101d3f00
test edx, edx
jl 0x10014928
jg 0x100148fb
test eax, eax
je 0x10014928
mov ecx, dword [ebx + 0x90]
test ecx, ecx
je 0x10014928
mov eax, dword [ecx]
push 1
call dword [eax + 0x58]
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, dword [ebx + 0x1c]
add esp, 4
test ecx, ecx
je 0x10014928
mov esi, dword [ecx]
push edx
push eax
call dword [esi + 0xb4]
mov ecx, dword [ebx + 0x1c]
xorps xmm0, xmm0
mov byte [esp + 0x13], 1
movlpd qword [esp + 0x20], xmm0
mov dword [esp + 0x18], 0
test ecx, ecx
je 0x10014ac6
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push edx
mov eax, dword [eax + 0xa0]
call eax
test al, al
je 0x10014ac6
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x10014ac6
mov eax, dword [ecx]
lea edx, [esp + 0x18]
push edx
mov eax, dword [eax + 0xa8]
call eax
test al, al
je 0x10014ac6
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], 0
cmp eax, 5
ja case.default.0x10014993
jmp dword [eax*4 + 0x10014b70]
mov dword [esp + 0x14], 0
jmp case.default.0x10014993
mov eax, dword [ebx + 0x1b0]
jmp 0x100149c2
mov eax, dword [ebx + 0x1b8]
jmp 0x100149c2
mov eax, dword [ebx + 0x1b4]
jmp 0x100149c2
mov eax, dword [ebx + 0x1ac]
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
sub eax, edi
sbb edx, esi
push 0
push 0x15180
push edx
push eax
call fcn.101d3f00
test edx, edx
jl 0x10014ac6
jg 0x100149ff
cmp eax, dword [esp + 0x14]
jb 0x10014ac6
cmp byte [ebx + 0x1c1], 0
je 0x10014ac6
cmp byte [ebx + 0x1c0], 0
je 0x10014ac6
push 0
push dword [ebx + 0x1dc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10014ac6
call fcn.10051150
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
push ecx
push 0x1020d48c
push ecx
mov ecx, eax
call fcn.10051730
test eax, eax
jne 0x10014a5f
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x10014a5f
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [ebx + 0x1d8]
test ecx, ecx
je 0x10014ac6
mov eax, dword [ecx]
push 0
push 0
push 1
mov eax, dword [eax + 0x18]
push 1
call eax
test al, al
je 0x10014ac6
mov ecx, dword [ebx + 0x1d8]
lea eax, [ebx + 0x1d0]
push eax
lea esi, [ebx + 0x1c8]
push esi
mov edx, dword [ecx]
call dword [edx + 0x40]
cmp dword [esi], 0
je 0x10014ac6
call fcn.1002b600
test al, al
jne 0x10014ac6
call fcn.10030c20
test al, al
jne 0x10014ac6
lea esi, [ebx + 0x1e0]
mov byte [esi], al
push esi
push 0x10036ac0
call dword [sym.imp.USER32.dll_EnumWindows]
mov al, byte [esi]
test al, al
je 0x10014acb
mov byte [esp + 0x13], 0
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x14], 0
test ecx, ecx
je 0x10014b36
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
mov eax, dword [eax + 0xc0]
call eax
test al, al
je 0x10014b36
mov ecx, ebx
call fcn.10015140
test al, al
je 0x10014aff
mov ecx, 1
jmp 0x10014b04
mov ecx, dword [esp + 0x14]
inc ecx
mov edx, dword [ebx + 0x1c]
mov dword [esp + 0x14], ecx
test edx, edx
je 0x10014b1a
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax + 0xc4]
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, dword [ebx + 0x1c]
add esp, 4
test ecx, ecx
je 0x10014b36
mov esi, dword [ecx]
push edx
push eax
call dword [esi + 0xbc]
mov al, byte [esp + 0x13]
test al, al
je 0x10014b5d
mov ecx, ebx
call fcn.10014b90
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.101d284b
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101d284b
mov esp, ebp
pop ebp
ret