Function at 0x1003c080
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 0x1003f4e8
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.1003bd90
test eax, eax
jne 0x1003cabb
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x334], eax
lea eax, [ebp - 0x334]
push eax
push 0x1003cb40
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 [0x1007b030]
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 0x1003c170
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.100014a0
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 0x1003c1f0
movups xmm0, xmmword [eax]
mov edi, 7
movups xmmword [ebp - 0x240], xmm0
jmp 0x1003c225
mov edi, esi
mov eax, SysReAllocString
or edi, 7
cmp edi, eax
cmova edi, eax
lea eax, [edi + 1]
push eax
call fcn.10001720
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 0x1003c277
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [esi + ecx*2], 0x5c
lea edx, [esi + ecx*2]
je 0x1003c271
cmp edx, esi
je 0x1003c277
sub edx, 2
cmp word [edx], 0x5c
jne 0x1003c264
sub edx, esi
sar edx, 1
jmp 0x1003c27a
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 [0x1007b030]
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.100014a0
lea eax, [ebp - 0x2e8]
push eax
call fcn.1003ec50
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 [0x1007b030]
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.100014a0
push 0
lea eax, [ebp - 0x304]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x324]
mov dword [ebp - 0x304], 0
push dword [0x1007b030]
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.100014a0
push 0
lea eax, [ebp - 0x308]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x30c]
mov dword [ebp - 0x308], 0
push dword [0x1007b030]
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.100014a0
xor eax, eax
mov byte [ebp - 4], 6
push eax
mov dword [ebp - 0x258], 0
lea ecx, [ebp - 0x258]
push 0x1004601c
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
call fcn.100014a0
mov eax, dword [ebx + 0xc]
mov byte [ebp - 4], 7
test eax, eax
je 0x1003c6ca
mov dword [ebp - 0x31c], 0x100463c0
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 0x1003c542
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003c500
sub ecx, esi
sar ecx, 1
cmp ecx, 1
jbe 0x1003c59b
cmp word [edx + ecx*2 - 2], 0xa
lea eax, [edx + ecx*2]
jne 0x1003c59b
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 0x1003c59b
xor ecx, ecx
mov word [eax - 4], cx
jmp 0x1003c595
push 0x40
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, eax
mov dword [ebp - 0x310], edx
test edx, edx
je 0x1003c59b
mov ecx, dword [ebp - 0x318]
cmp ecx, 0x80040200
jl 0x1003c584
cmp ecx, 0x8004ffff
jg 0x1003c584
lea eax, [ecx - 0x200]
movzx eax, ax
test ax, ax
je 0x1003c584
push eax
push str.IDispatch_error__d
jmp 0x1003c58a
push ecx
push str.Unknown_error_0x_0lX
push 0x20
push edx
call fcn.10001c90
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 [0x1007b030]
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.100014a0
lea eax, [ebp - 0x300]
push eax
call fcn.1003ec50
mov esi, eax
add esp, 0x20
lea eax, [ebp - 0x258]
cmp eax, esi
je 0x1003c690
mov edx, dword [ebp - 0x244]
cmp edx, 8
jb 0x1003c64f
mov ecx, dword [ebp - 0x258]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c645
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003cad9
push edx
push ecx
call fcn.10002383
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.10001040
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x314]
mov dword [ebp - 0x31c], 0x100463c0
test ecx, ecx
je 0x1003c6b9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x310]
test eax, eax
je 0x1003c6ca
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 [0x1007b030]
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.100014a0
lea eax, [ebp - 0x2d0]
push eax
call fcn.1003ec50
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 0x1003c80e
mov ecx, dword [ebp - 0x2d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c804
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003cade
push edx
push ecx
call fcn.10002383
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 0x1003c86b
mov ecx, dword [ebp - 0x258]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c861
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003cade
push edx
push ecx
call fcn.10002383
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 0x1003c8c8
mov ecx, dword [ebp - 0x288]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c8be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003cade
push edx
push ecx
call fcn.10002383
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 0x1003c925
mov ecx, dword [ebp - 0x2a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c91b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003cade
push edx
push ecx
call fcn.10002383
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 0x1003c982
mov ecx, dword [ebp - 0x2b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c978
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003cade
push edx
push ecx
call fcn.10002383
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 0x1003c9df
mov ecx, dword [ebp - 0x2e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c9d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003cade
push edx
push ecx
call fcn.10002383
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 0x1003ca3c
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003ca32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003cade
push edx
push ecx
call fcn.10002383
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 0x1003cabb
mov ecx, dword [ebp - 0x270]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003ca8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003cade
push edx
push ecx
call fcn.10002383
add esp, 8
jmp 0x1003cabb
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