Function at 0x10005340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xac
mov eax, dword [0x100d3fe0]
xor eax, esp
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xb0]
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [eax + 4]
push esi
push edi
cmp ecx, 0x8d2
jne 0x10005374
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
jmp 0x100053c0
cmp ecx, 0x113
jne 0x100056e8
cmp dword [eax + 8], 0x7d4
jne 0x100056e8
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x100053b8
push 0x7d4
mov ecx, ebp
call fcn.100038e0
mov dword [ebp + 0xc], 0
mov eax, 1
jmp 0x100056f3
mov esi, dword [ebp + 0xc]
mov edi, 5
xor ebx, ebx
push 0x2a
lea edx, [esp + 0x42]
xor ecx, ecx
push ebx
push edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x48], cx
call fcn.1007f650
push 0x4e
lea ecx, [esp + 0x7a]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x80], ax
call fcn.1007f650
add esp, 0x18
mov dword [esp + 0x14], ebx
cmp edi, 5
jne 0x100056e4
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100053ae
push esi
mov ecx, ebp
call fcn.10001e50
mov edi, eax
mov dword [esp + 0x24], edi
cmp edi, ebx
je 0x100053ae
lea edx, [esp + 0x20]
push edx
push 0x100c5ca0
push ebx
push esi
call dword [0x100d6cc4]
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x100056ce
push 2
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
push 0x100d6c84
push ebx
push eax
call fcn.100024c0
add esp, 0x24
cmp eax, 1
jne 0x100056c2
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [edi + 0x30]
jle 0x100056b6
push esi
call fcn.10002070
add esp, 4
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000558a
lea edx, [esp + 0x1c]
push edx
push 0x100c5ca0
push ebx
push esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
call dword [0x100d6cc4]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1000558a
push 2
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x38]
push edx
push ebx
push 0x100d6b84
push ebx
push eax
call fcn.100024c0
add esp, 0x24
cmp eax, 1
jne 0x1000557e
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x1000557e
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x44]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x48]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x4c]
push ecx
mov ecx, dword [edx + 0x28]
mov dword [eax + 0xc], esi
call ecx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x10005572
push 0x20
push 0x16
lea edx, [esp + 0x44]
push edx
push eax
call fcn.100034f0
mov ecx, dword [esp + 0x20]
push 0x100bac68
push 0x100bac64
push 0x28
lea eax, [esp + 0x84]
push eax
push ecx
call fcn.100032e0
mov edx, dword [esp + 0x34]
add esp, 0x24
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 3
mov word [esp + 0x2c], ax
mov ebx, dword [edi + 0x30]
mov eax, dword [esp + 0x14]
sub ebx, 2
lea ecx, [eax - 3]
cmp ebx, ecx
jg 0x100056b1
lea esp, [esp]
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x44]
mov ecx, ebx
mov dword [esp + 0x48], ecx
mov esi, dword [edx]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esi + 0x28]
mov dword [eax + 0xc], ecx
call edx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1000569d
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrW]
push 0x100bac58
push eax
call edi
test eax, eax
jne 0x1000568a
mov eax, dword [esp + 0x10]
push 0x100bac50
push eax
call edi
test eax, eax
je 0x10005638
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
push 0x100bac4c
push 0x100baaf0
push 9
add ecx, 4
push ecx
push edx
call fcn.100032e0
add esp, 0x14
jmp 0x1000568a
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x3c]
push eax
add esi, 4
push esi
call edi
test eax, eax
je 0x10005660
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push ecx
push edx
push eax
push esi
lea ecx, [esp + 0x78]
push ecx
jmp 0x10005681
lea edi, [ebp + 0x14]
push esi
mov ecx, edi
call fcn.10001960
mov edx, dword [esp + 0x10]
push edx
mov edx, dword [edi]
lea eax, [esp + 0x40]
push eax
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x70]
push ecx
push edx
push eax
push 4
mov ecx, ebp
call fcn.10003990
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
inc ebx
lea edx, [eax - 3]
cmp ebx, edx
jle 0x100055b0
mov edi, dword [esp + 0x24]
mov dword [edi + 0x30], eax
xor ebx, ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x100056dd
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, 1
jmp 0x100056f3
xor eax, eax
jmp 0x100056f3
xor eax, eax
cmp ecx, 0x113
setne al
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1007fec9
add esp, 0xac
ret 4