Function at 0x100150e0
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 0x1003f5a3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x320
mov eax, dword [0x10070024]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x324], edx
mov dword [ebp - 0x320], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x30c], eax
call fcn.10014d10
test eax, eax
jne 0x10015b1b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x334], eax
lea eax, [ebp - 0x334]
push eax
push 0x10015ba0
mov dword [ebp - 0x330], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x328], eax
mov dword [ebp - 0x32c], eax
lea eax, [ebp - 0x228]
push 0x104
push eax
mov dword [ebp - 4], 0
push dword [0x1007b040]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x270], 0
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x270], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100151d0
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.10001630
mov byte [ebp - 4], 1
lea eax, [ebp - 0x270]
cmp dword [ebp - 0x25c], 8
mov esi, dword [ebp - 0x260]
cmovae eax, dword [ebp - 0x270]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x308], esi
mov dword [ebp - 0x304], eax
cmp esi, 8
jae 0x10015250
movups xmm0, xmmword [eax]
mov edi, 7
movups xmmword [ebp - 0x240], xmm0
jmp 0x10015285
mov edi, esi
mov eax, SysReAllocString
or edi, 7
cmp edi, eax
cmova edi, eax
lea eax, [edi + 1]
push eax
call fcn.10001a40
lea ecx, [esi*2 + 2]
mov dword [ebp - 0x240], eax
push ecx
push dword [ebp - 0x304]
push eax
call fcn.10004ee0
add esp, 0xc
mov eax, edi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x230], esi
cmp eax, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x308]
lea esi, [ebp - 0x240]
cmovae esi, dword [ebp - 0x240]
test eax, eax
je 0x100152d7
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [esi + ecx*2], 0x5c
lea edx, [esi + ecx*2]
je 0x100152d1
cmp edx, esi
je 0x100152d7
sub edx, 2
cmp word [edx], 0x5c
jne 0x100152c4
sub edx, esi
sar edx, 1
jmp 0x100152da
or edx, 0xffffffff
mov eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x240]
inc edx
cmp eax, edx
cmovb edx, eax
cmp edi, 8
cmovae ecx, dword [ebp - 0x240]
sub eax, edx
mov dword [ebp - 0x230], eax
lea eax, [eax*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call fcn.10004ee0
add esp, 0xc
lea eax, [ebp - 0x240]
cmp dword [ebp - 0x22c], 8
cmovae eax, dword [ebp - 0x240]
push eax
sub esp, 0x18
lea eax, [ebp - 0x308]
mov esi, esp
mov dword [ebp - 0x304], esi
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0
push eax
push 0x6f
push dword [0x1007b040]
mov dword [ebp - 0x308], 0
call edi
mov ecx, dword [ebp - 0x308]
xor edx, edx
movzx eax, word [ecx - 2]
push eax
push ecx
mov dword [esi], 0
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], dx
call fcn.10001630
lea eax, [ebp - 0x2e8]
push eax
call fcn.100134c0
add esp, 0x20
push 0
lea eax, [ebp - 0x308]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x320]
mov dword [ebp - 0x308], 0
push dword [0x1007b040]
call edi
mov ecx, dword [ebp - 0x308]
xor edx, edx
movzx eax, word [ecx - 2]
push eax
push ecx
mov dword [ebp - 0x2b8], 0
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 7
mov word [ebp - 0x2b8], dx
call fcn.10001630
push 0
lea eax, [ebp - 0x304]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x324]
mov dword [ebp - 0x304], 0
push dword [0x1007b040]
call edi
mov ecx, dword [ebp - 0x304]
xor edx, edx
movzx eax, word [ecx - 2]
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 7
push eax
push ecx
lea ecx, [ebp - 0x2a0]
mov word [ebp - 0x2a0], dx
call fcn.10001630
push 0
lea eax, [ebp - 0x308]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x30c]
mov dword [ebp - 0x308], 0
push dword [0x1007b040]
call edi
mov ecx, dword [ebp - 0x308]
xor edx, edx
movzx eax, word [ecx - 2]
push eax
push ecx
mov dword [ebp - 0x288], 0
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 7
mov word [ebp - 0x288], dx
call fcn.10001630
xor eax, eax
mov byte [ebp - 4], 6
push eax
mov dword [ebp - 0x258], 0
lea ecx, [ebp - 0x258]
push 0x1004613c
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
call fcn.10001630
mov eax, dword [ebx + 0xc]
mov byte [ebp - 4], 7
test eax, eax
je 0x1001572a
mov dword [ebp - 0x31c], 0x100463bc
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 0
push 0
push 0
lea ecx, [ebp - 0x310]
mov byte [ebp - 4], 8
push ecx
push 0x400
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov edx, dword [ebp - 0x310]
test edx, edx
je 0x100155a2
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10015560
sub ecx, esi
sar ecx, 1
cmp ecx, 1
jbe 0x100155fb
cmp word [edx + ecx*2 - 2], 0xa
lea eax, [edx + ecx*2]
jne 0x100155fb
xor edx, edx
mov word [eax - 2], dx
mov edx, dword [ebp - 0x310]
cmp word [edx + ecx*2 - 4], 0xd
lea eax, [edx + ecx*2]
jne 0x100155fb
xor ecx, ecx
mov word [eax - 4], cx
jmp 0x100155f5
push 0x40
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, eax
mov dword [ebp - 0x310], edx
test edx, edx
je 0x100155fb
mov ecx, dword [ebp - 0x318]
cmp ecx, 0x80040200
jl 0x100155e4
cmp ecx, 0x8004ffff
jg 0x100155e4
lea eax, [ecx - 0x200]
movzx eax, ax
test ax, ax
je 0x100155e4
push eax
push str.IDispatch_error__d
jmp 0x100155ea
push ecx
push str.Unknown_error_0x_0lX
push 0x20
push edx
call fcn.10002100
add esp, 0x10
mov edx, dword [ebp - 0x310]
push edx
sub esp, 0x18
mov dword [ebp - 0x304], 0
mov esi, esp
lea eax, [ebp - 0x304]
mov dword [ebp - 0x30c], esi
push 0
push eax
push 0x7e
push dword [0x1007b040]
call edi
mov ecx, dword [ebp - 0x304]
xor edx, edx
movzx eax, word [ecx - 2]
push eax
push ecx
mov dword [esi], 0
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], dx
call fcn.10001630
lea eax, [ebp - 0x300]
push eax
call fcn.100134c0
mov esi, eax
add esp, 0x20
lea eax, [ebp - 0x258]
cmp eax, esi
je 0x100156f0
mov edx, dword [ebp - 0x244]
cmp edx, 8
jb 0x100156af
mov ecx, dword [ebp - 0x258]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100156a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015b39
push edx
push ecx
call fcn.10002353
add esp, 8
mov dword [ebp - 0x248], 0
xor eax, eax
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x258], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x248], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x300]
call fcn.10001280
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x314]
mov dword [ebp - 0x31c], 0x100463bc
test ecx, ecx
je 0x10015719
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x310]
test eax, eax
je 0x1001572a
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x25c], 8
lea eax, [ebp - 0x270]
mov dword [ebp - 0x304], 0
cmovae eax, dword [ebp - 0x270]
cmp dword [ebp - 0x244], 8
push eax
lea eax, [ebp - 0x258]
cmovae eax, dword [ebp - 0x258]
cmp dword [ebp - 0x274], 8
push eax
lea eax, [ebp - 0x288]
cmovae eax, dword [ebp - 0x288]
cmp dword [ebp - 0x28c], 8
push eax
lea eax, [ebp - 0x2a0]
cmovae eax, dword [ebp - 0x2a0]
cmp dword [ebp - 0x2a4], 8
push eax
lea eax, [ebp - 0x2b8]
cmovae eax, dword [ebp - 0x2b8]
push eax
sub esp, 0x18
lea eax, [ebp - 0x304]
mov esi, esp
mov dword [ebp - 0x30c], esi
push 0
push eax
push 0x70
push dword [0x1007b040]
call edi
mov ecx, dword [ebp - 0x304]
xor edx, edx
movzx eax, word [ecx - 2]
push eax
push ecx
mov dword [esi], 0
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], dx
call fcn.10001630
lea eax, [ebp - 0x2d0]
push eax
call fcn.100134c0
add esp, 0x30
lea ecx, [ebp - 0x2e8]
cmp dword [ebp - 0x2d4], 8
lea eax, [ebp - 0x2d0]
cmovae ecx, dword [ebp - 0x2e8]
cmp dword [ebp - 0x2bc], 8
push 0x30
cmovae eax, dword [ebp - 0x2d0]
push ecx
push eax
push dword [ebp - 0x328]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0x2bc]
cmp edx, 8
jb 0x1001586e
mov ecx, dword [ebp - 0x2d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10015864
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015b3e
push edx
push ecx
call fcn.10002353
add esp, 8
mov edx, dword [ebp - 0x244]
xor eax, eax
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 7
mov word [ebp - 0x2d0], ax
cmp edx, 8
jb 0x100158cb
mov ecx, dword [ebp - 0x258]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100158c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015b3e
push edx
push ecx
call fcn.10002353
add esp, 8
mov edx, dword [ebp - 0x274]
xor eax, eax
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
cmp edx, 8
jb 0x10015928
mov ecx, dword [ebp - 0x288]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001591e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015b3e
push edx
push ecx
call fcn.10002353
add esp, 8
mov edx, dword [ebp - 0x28c]
xor eax, eax
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 7
mov word [ebp - 0x288], ax
cmp edx, 8
jb 0x10015985
mov ecx, dword [ebp - 0x2a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001597b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015b3e
push edx
push ecx
call fcn.10002353
add esp, 8
mov edx, dword [ebp - 0x2a4]
xor eax, eax
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 7
mov word [ebp - 0x2a0], ax
cmp edx, 8
jb 0x100159e2
mov ecx, dword [ebp - 0x2b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100159d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015b3e
push edx
push ecx
call fcn.10002353
add esp, 8
mov edx, dword [ebp - 0x2d4]
xor eax, eax
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 7
mov word [ebp - 0x2b8], ax
cmp edx, 8
jb 0x10015a3f
mov ecx, dword [ebp - 0x2e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10015a35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015b3e
push edx
push ecx
call fcn.10002353
add esp, 8
mov edx, dword [ebp - 0x22c]
xor eax, eax
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 7
mov word [ebp - 0x2e8], ax
cmp edx, 8
jb 0x10015a9c
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10015a92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015b3e
push edx
push ecx
call fcn.10002353
add esp, 8
mov edx, dword [ebp - 0x25c]
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
cmp edx, 8
jb 0x10015b1b
mov ecx, dword [ebp - 0x270]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10015aeb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015b3e
push edx
push ecx
call fcn.10002353
add esp, 8
jmp 0x10015b1b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10002345
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10005d83
call fcn.10005d83
int3