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

Disassembly:
push 0xffffffffffffffff
push 0x1008e860
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d4254]
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 0x1002e3a3
mov ebp, dword [esp + 0x70]
test ebp, ebp
je 0x1002e3a7
lea eax, [esp + 0x70]
push eax
call fcn.1002e700
test eax, eax
js 0x1002e6ea
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.1002f5c0
mov esi, eax
cmp esi, dword [edi + 0xc]
je 0x1002e403
mov eax, dword [0x100d59bc]
test al, 1
jne 0x1002e3e4
or eax, 1
mov dword [0x100d59bc], 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 0x1002e403
mov dword [esp + 0x24], esi
jmp 0x1002e40a
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 0x1002e53d
cmp byte [esp + 0x78], 0
je 0x1002e438
lea eax, [esp + 0x64]
mov ecx, edi
push eax
call fcn.1002e700
test eax, eax
js 0x1002e6ea
mov esi, dword [edi + 0x20]
inc esi
mov dword [esp + 0x20], 0
mov dword [edi + 0x20], esi
test ebp, ebp
je 0x1002e45a
test ebx, ebx
je 0x1002e456
cmp dword [esp + 0x6c], 0
jne 0x1002e45a
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.1002f410
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.1002f410
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.1002f760
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.1002d4c0
push eax
add eax, 0x10
lea ecx, [edi + 0xc]
push eax
push 0
lea eax, [esp + 0x30]
push eax
call fcn.1002dc30
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.1002f760
push dword [esp + 0x4c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
test ebx, ebx
je 0x1002e6e0
cmp dword [esp + 0x6c], 0
je 0x1002e6e0
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.1002fde0
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 0x1002e63b
cmp byte [edi + 0x1d], 0
je 0x1002e649
test cl, cl
je 0x1002e63b
mov edi, dword [esp + 0x20]
mov dword [esp + 0x24], 0
mov eax, dword [0x100d59b8]
mov ecx, dword [esi + 0x10]
test al, 1
jne 0x1002e5c7
or eax, 1
mov dword [0x100d59b8], eax
push ecx
push ebx
call dword [sym.imp.MSVCR120.dll__wcsicmp]
add esp, 8
test eax, eax
js 0x1002e5f8
mov eax, dword [esi + 0x18]
cmp eax, edi
jge 0x1002e5e6
mov edi, eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x18]
call fcn.1002e220
mov esi, dword [esp + 0x18]
cmp esi, dword [ebp]
jne 0x1002e5b3
mov esi, dword [esp + 0x24]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x30]
test esi, esi
je 0x1002e624
mov ecx, dword [esp + 0x70]
push ecx
mov ecx, edi
call fcn.1002e930
lea eax, [esp + 0x70]
mov dword [esp + 0x70], esi
push eax
mov ecx, edi
call fcn.1002e700
push 0
push ebx
push dword [esp + 0x6c]
mov ecx, edi
call fcn.1002e7c0
mov eax, dword [ebp]
mov esi, eax
mov cl, byte [esp + 0x74]
cmp byte [edi + 0x1d], 0
je 0x1002e649
test cl, cl
jne 0x1002e649
mov cl, 1
jmp 0x1002e64b
xor cl, cl
cmp byte [esp + 0x78], 0
mov byte [esp + 0x74], cl
je 0x1002e682
test cl, cl
jne 0x1002e65e
cmp esi, eax
jne 0x1002e672
lea eax, [esp + 0x68]
mov ecx, edi
push eax
call fcn.1002e700
test eax, eax
js 0x1002e6ea
mov ebx, dword [esp + 0x68]
lea eax, [esp + 0x6c]
mov ecx, edi
push eax
call fcn.1002e700
test eax, eax
js 0x1002e6ea
cmp esi, dword [ebp]
je 0x1002e68e
cmp byte [esp + 0x74], 0
je 0x1002e6d9
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.1002d480
push eax
add eax, 0x10
mov ecx, ebp
push eax
push 0
lea eax, [esp + 0x3c]
push eax
call fcn.1002db30
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