Function at 0x10038fc0
Capabilities:
Enumerate gui resources
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push ebx
push ebp
xor eax, eax
mov dword [esp + 0x1c], ecx
push esi
push edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], eax
xor edi, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call fcn.10006230
mov esi, eax
lea ecx, [esp + 0x28]
push edi
mov edx, esi
call fcn.1000a910
add esp, 4
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov eax, dword [esi]
lea esi, [eax + ecx*2]
test ebp, ebp
jle 0x10039042
lea eax, [ebp*2 + 0x24]
push eax
call dword [sym.imp.msvcrt.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10039042
add ebx, 4
test ebx, ebx
je 0x10039042
lea eax, [ebp*2]
xor ecx, ecx
push eax
push esi
push ebx
mov word [eax + ebx], cx
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x10039049
mov ebx, 0x1005bdb0
xor ebp, ebp
mov eax, dword [esp + 0x38]
cmp eax, 0x1005bdb0
je 0x10039061
add eax, 0xfffffffc
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
cmp ebp, 0xf
jne 0x100390d9
push ebp
push 0x10057e30
push ebx
call dword [sym.imp.msvcrt.dll__wcsnicmp]
mov ebp, dword [esp + 0x20]
add esp, 0xc
test eax, eax
jne 0x100390dd
mov edx, ebp
lea ecx, [esp + 0x28]
call fcn.100397c0
sub esp, 0x14
lea ecx, [esp + 0x3c]
call fcn.10004c10
mov esi, dword [esp + 0x28]
test eax, eax
js 0x100390b9
lea ecx, [eax + 8]
mov eax, dword [esp + 0x2c]
sub eax, ecx
lea edx, [esp + 0x18]
push ecx
push eax
lea ecx, [esi + ecx*2]
call fcn.1000b0b0
add esp, 8
jmp 0x100390c2
call fcn.100068d0
mov dword [esp + 0x20], eax
cmp esi, 0x1005bdb0
je 0x100390dd
lea ecx, [esi - 4]
push ecx
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
jmp 0x100390dd
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0xac]
test esi, esi
je 0x10039127
mov edi, esi
lea ecx, [edi + 2]
lea ecx, [ecx]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x100390f0
sub edi, ecx
mov edx, 2
sar edi, 1
xor ecx, ecx
lea eax, [edi + 4]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.msvcrt.dll_malloc]
xor ecx, ecx
mov dword [esp + 0x20], eax
add esp, 4
test eax, eax
cmove esi, ecx
mov eax, dword [esp + 0xa8]
movss xmm0, dword [esp + 0xa4]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], 0
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
movss dword [esp + 0x84], xmm0
mov dword [esp + 0x8c], eax
call fcn.100060e0
cmp eax, 0x6020000
jb 0x1003923f
mov eax, dword [esp + 0x20]
xor esi, esi
mov ecx, dword [esp + 0x18]
xor ebp, ebp
mov edi, 0x3e8
test eax, eax
jne 0x100391f8
test ecx, ecx
je 0x10039215
mov ebp, str.ApplicationFrameWindow
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x6c], str.Windows.UI.Core.CoreWindow
mov dword [esp + 0x70], str.Microsoft_Edge
mov eax, edi
dec edi
test eax, eax
je 0x1003924f
push 0
push ebp
push esi
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
je 0x1003924f
lea eax, [esp + 0x48]
push eax
push esi
call fcn.10038c80
test eax, eax
jne 0x10039215
jmp 0x1003924f
lea eax, [esp + 0x48]
push eax
push fcn.10038c80
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x1c]
mov ebp, dword [sym.imp.msvcrt.dll_free]
test eax, eax
je 0x10039263
push eax
call ebp
add esp, 4
cmp dword [esp + 0x50], 1
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
mov dword [ecx], eax
jne 0x1003927f
cmp dword [esp + 0x4c], 4
jb 0x1003927f
mov al, 1
jmp 0x10039281
xor al, al
mov byte [esp + 0x13], al
cmp ebx, 0x1005bdb0
je 0x1003929a
lea ecx, [ebx - 4]
push ecx
call ebp
mov al, byte [esp + 0x17]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret