Function at 0x100370b0
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.100060f0
mov esi, eax
lea ecx, [esp + 0x28]
push edi
mov edx, esi
call fcn.1000a3a0
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 0x10037132
lea eax, [ebp*2 + 0x24]
push eax
call dword [sym.imp.msvcrt.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10037132
add ebx, 4
test ebx, ebx
je 0x10037132
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 0x10037139
mov ebx, 0x10059da0
xor ebp, ebp
mov eax, dword [esp + 0x38]
cmp eax, 0x10059da0
je 0x10037151
add eax, 0xfffffffc
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
cmp ebp, 0xf
jne 0x100371c9
push ebp
push str.MicrosoftEdgeCP
push ebx
call dword [sym.imp.msvcrt.dll__wcsnicmp]
mov ebp, dword [esp + 0x20]
add esp, 0xc
test eax, eax
jne 0x100371cd
mov edx, ebp
lea ecx, [esp + 0x28]
call fcn.100378b0
sub esp, 0x14
lea ecx, [esp + 0x3c]
call fcn.10004bc0
mov esi, dword [esp + 0x28]
test eax, eax
js 0x100371a9
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.1000ab40
add esp, 8
jmp 0x100371b2
call fcn.10006790
mov dword [esp + 0x20], eax
cmp esi, 0x10059da0
je 0x100371cd
lea ecx, [esi - 4]
push ecx
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
jmp 0x100371cd
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0xac]
test esi, esi
je 0x10037217
mov edi, esi
lea ecx, [edi + 2]
lea ecx, [ecx]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x100371e0
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.10006060
cmp eax, 0x6020000
jb 0x1003732f
mov eax, dword [esp + 0x20]
xor esi, esi
mov ecx, dword [esp + 0x18]
xor ebp, ebp
mov edi, 0x3e8
test eax, eax
jne 0x100372e8
test ecx, ecx
je 0x10037305
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 0x1003733f
push 0
push ebp
push esi
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
je 0x1003733f
lea eax, [esp + 0x48]
push eax
push esi
call fcn.10036d70
test eax, eax
jne 0x10037305
jmp 0x1003733f
lea eax, [esp + 0x48]
push eax
push fcn.10036d70
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x1c]
mov ebp, dword [sym.imp.msvcrt.dll_free]
test eax, eax
je 0x10037353
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 0x1003736f
cmp dword [esp + 0x4c], 4
jb 0x1003736f
mov al, 1
jmp 0x10037371
xor al, al
mov byte [esp + 0x13], al
cmp ebx, 0x10059da0
je 0x1003738a
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