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

Disassembly:
push 0xffffffffffffffff
push 0x10067e90
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x30], edi
cmp byte [esp + 0x78], 0
mov byte [esp + 0x17], 0
je 0x100274b3
mov ebp, dword [esp + 0x70]
test ebp, ebp
je 0x100274b7
lea eax, [esp + 0x70]
push eax
call fcn.10027810
test eax, eax
js 0x100277fa
mov ebp, dword [esp + 0x70]
mov eax, dword [esp + 0x64]
lea ecx, [edi + 0xc]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.100286d0
mov esi, eax
cmp esi, dword [edi + 0xc]
je 0x10027513
mov eax, dword [0x1009c534]
test al, 1
jne 0x100274f4
or eax, 1
mov dword [0x1009c534], eax
push dword [esi + 0x10]
push dword [esp + 0x68]
call dword [sym.imp.MSVCR120.dll__wcsicmp]
add esp, 8
test eax, eax
sets al
test al, al
jne 0x10027513
mov dword [esp + 0x24], esi
jmp 0x1002751a
mov eax, dword [edi + 0xc]
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0x68]
lea esi, [esp + 0x24]
mov esi, dword [esi]
cmp esi, dword [edi + 0xc]
jne 0x1002764d
cmp byte [esp + 0x78], 0
je 0x10027548
lea eax, [esp + 0x64]
mov ecx, edi
push eax
call fcn.10027810
test eax, eax
js 0x100277fa
mov esi, dword [edi + 0x20]
inc esi
mov dword [esp + 0x20], 0
mov dword [edi + 0x20], esi
test ebp, ebp
je 0x1002756a
test ebx, ebx
je 0x10027566
cmp dword [esp + 0x6c], 0
jne 0x1002756a
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.10028520
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
call fcn.10028520
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x1c], edx
push eax
push dword [eax]
lea eax, [esp + 0x2c]
mov byte [esp + 0x64], 2
push eax
lea ecx, [esp + 0x24]
call fcn.100289f0
push dword [esp + 0x18]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [esp + 0x40]
lea ecx, [edi + 0xc]
push eax
call fcn.100265b0
push eax
add eax, 0x10
lea ecx, [edi + 0xc]
push eax
push 0
lea eax, [esp + 0x30]
push eax
call fcn.10026d20
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x4c]
mov esi, dword [esp + 0x24]
push eax
mov byte [esp + 0x1b], 1
push dword [eax]
lea eax, [esp + 0x2c]
mov dword [esp + 0x64], 0xffffffff
push eax
call fcn.100289f0
push dword [esp + 0x4c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
test ebx, ebx
je 0x100277f0
cmp dword [esp + 0x6c], 0
je 0x100277f0
lea eax, [esp + 0x24]
mov dword [esp + 0x24], ebx
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x2c], 0
lea ebp, [esi + 0x1c]
mov dword [esp + 0x30], 0
push eax
mov ecx, ebp
call fcn.10029070
inc dword [edi + 0x20]
mov eax, dword [edi + 0x20]
mov esi, dword [esp + 0x18]
mov cl, byte [esp + 0x74]
mov dword [esp + 0x20], eax
mov eax, dword [ebp]
cmp esi, eax
je 0x1002774b
cmp byte [edi + 0x1d], 0
je 0x10027759
test cl, cl
je 0x1002774b
mov edi, dword [esp + 0x20]
mov dword [esp + 0x24], 0
mov eax, dword [0x1009c530]
mov ecx, dword [esi + 0x10]
test al, 1
jne 0x100276d7
or eax, 1
mov dword [0x1009c530], eax
push ecx
push ebx
call dword [sym.imp.MSVCR120.dll__wcsicmp]
add esp, 8
test eax, eax
js 0x10027708
mov eax, dword [esi + 0x18]
cmp eax, edi
jge 0x100276f6
mov edi, eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x18]
call fcn.10027310
mov esi, dword [esp + 0x18]
cmp esi, dword [ebp]
jne 0x100276c3
mov esi, dword [esp + 0x24]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x30]
test esi, esi
je 0x10027734
mov ecx, dword [esp + 0x70]
push ecx
mov ecx, edi
call fcn.10027a40
lea eax, [esp + 0x70]
mov dword [esp + 0x70], esi
push eax
mov ecx, edi
call fcn.10027810
push 0
push ebx
push dword [esp + 0x6c]
mov ecx, edi
call fcn.100278d0
mov eax, dword [ebp]
mov esi, eax
mov cl, byte [esp + 0x74]
cmp byte [edi + 0x1d], 0
je 0x10027759
test cl, cl
jne 0x10027759
mov cl, 1
jmp 0x1002775b
xor cl, cl
cmp byte [esp + 0x78], 0
mov byte [esp + 0x74], cl
je 0x10027792
test cl, cl
jne 0x1002776e
cmp esi, eax
jne 0x10027782
lea eax, [esp + 0x68]
mov ecx, edi
push eax
call fcn.10027810
test eax, eax
js 0x100277fa
mov ebx, dword [esp + 0x68]
lea eax, [esp + 0x6c]
mov ecx, edi
push eax
call fcn.10027810
test eax, eax
js 0x100277fa
cmp esi, dword [ebp]
je 0x1002779e
cmp byte [esp + 0x74], 0
je 0x100277e9
mov ecx, dword [esp + 0x70]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], 0
cmovne eax, ecx
mov ecx, ebp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x30]
push eax
call fcn.10026570
push eax
add eax, 0x10
mov ecx, ebp
push eax
push 0
lea eax, [esp + 0x3c]
push eax
call fcn.10026c20
mov esi, dword [esp + 0x30]
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x1c], eax
xor eax, eax
cmp byte [esp + 0x17], al
setne al
inc eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x18