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

Disassembly:
push 0xffffffffffffffff
push 0x10040488
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1005a690]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1005a690]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebp, edx
mov edi, ecx
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
lea esi, [ecx + 0x20]
cmp edi, ebp
je 0x1002cee9
mov eax, dword [eax + 0xc]
mov bl, byte [esp + 0x78]
xor edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
cmp dword [ecx + 8], edx
jbe 0x1002caf6
nop
cmp word [esi], 0
jne 0x1002ca70
mov edi, dword [esp + 0x18]
movzx eax, word [edi]
test bl, bl
je 0x1002ca49
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov ecx, eax
mov edx, dword [edx]
call fcn.1003d250
mov edx, dword [esp + 0x14]
movzx ecx, ax
jmp 0x1002ca4b
mov ecx, eax
movzx eax, word [esi]
cmp cx, ax
je 0x1002cb71
test ax, ax
jne 0x1002cae4
add esi, 2
cmp word [esi], 0
je 0x1002ca60
jmp 0x1002cae4
cmp edi, ebp
je 0x1002cac2
movzx eax, word [edi]
test bl, bl
je 0x1002ca8d
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov ecx, eax
mov edx, dword [edx]
call fcn.1003d250
movzx eax, ax
cmp ax, word [esi]
jne 0x1002cac2
add esi, 2
add edi, 2
cmp word [esi], 0
jne 0x1002ca70
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
cmp byte [eax + 0x1c], 0
jne 0x1002cb86
cmp edi, esi
jne 0x1002cb84
add esi, 2
mov eax, esi
jmp 0x1002ceeb
cmp word [esi], 0
je 0x1002ca9e
jmp 0x1002cad0
add esi, 2
cmp word [esi], 0
jne 0x1002cad0
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add esi, 2
mov eax, dword [esp + 0x20]
inc edx
mov dword [esp + 0x14], edx
cmp edx, dword [eax + 8]
jb 0x1002ca20
movzx eax, word [edi]
test bl, bl
mov ebx, dword [esp + 0x1c]
mov ecx, eax
je 0x1002cb0f
mov edx, dword [ebx]
mov edx, dword [edx]
call fcn.1003d250
movzx ecx, ax
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x1002cb27
cmp dword [ebp + 0x10], eax
je 0x1002cead
xor edx, edx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], dx
mov dword [esp + 0x68], edx
test eax, eax
je 0x1002cd2b
mov eax, dword [esp + 0x28]
test dword [eax + 0x14], 0x200000
jne 0x1002cb8d
mov edx, 1
xor eax, eax
mov word [esp + 0x2c], cx
mov dword [esp + 0x3c], edx
mov word [esp + 0x2e], ax
jmp 0x1002cc04
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x1c], 0
jne 0x1002cee9
jmp 0x1002cee6
mov esi, edi
mov eax, esi
jmp 0x1002ceeb
xor eax, eax
mov word [esp + 0x16], ax
lea eax, [esp + 0x16]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x4c]
mov word [esp + 0x1c], cx
push eax
mov ecx, ebx
call fcn.1003b9a0
mov edi, eax
lea eax, [esp + 0x2c]
cmp eax, edi
je 0x1002cbed
cmp dword [esp + 0x40], 8
jb 0x1002cbcc
push dword [esp + 0x2c]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
call fcn.1000a660
cmp dword [esp + 0x58], 8
jb 0x1002cc00
push dword [esp + 0x44]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [esp + 0x3c]
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jbe 0x1002cd2b
nop
xor eax, eax
cmp ax, word [esi]
jne 0x1002cc38
test edx, edx
je 0x1002cc70
cmp edx, 1
jne 0x1002cc34
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
cmp word [eax], 0
je 0x1002cc70
xor ecx, ecx
jmp 0x1002cc4f
mov ecx, esi
lea edi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002cc40
sub ecx, edi
sar ecx, 1
push ecx
push esi
push edx
push 0
lea ecx, [esp + 0x3c]
call fcn.1000c780
test eax, eax
js 0x1002cd00
mov edx, dword [esp + 0x3c]
lea esp, [esp]
add esi, 2
cmp word [esi], 0
jne 0x1002cc70
add esi, 2
xor eax, eax
cmp ax, word [esi]
jne 0x1002cca4
test edx, edx
je 0x1002ccd1
cmp edx, 1
jne 0x1002cca0
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
cmp word [eax], 0
je 0x1002ccd1
xor ecx, ecx
jmp 0x1002ccbf
mov ecx, esi
lea edi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002ccb0
sub ecx, edi
sar ecx, 1
push ecx
push esi
push edx
push 0
lea ecx, [esp + 0x3c]
call fcn.1000c780
test eax, eax
jg 0x1002cd10
cmp byte [ebp + 0x1c], 0
mov esi, dword [esp + 0x18]
jne 0x1002ccde
add esi, 2
cmp dword [esp + 0x40], 8
jb 0x1002ccf1
push dword [esp + 0x2c]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
jmp 0x1002ceeb
add esi, 2
cmp word [esi], 0
jne 0x1002cd00
add esi, 2
lea esp, [esp]
add esi, 2
cmp word [esi], 0
jne 0x1002cd10
inc ebx
add esi, 2
cmp ebx, dword [ebp + 0xc]
jae 0x1002cd2b
mov edx, dword [esp + 0x3c]
jmp 0x1002cc10
cmp dword [ebp + 0x10], 0
je 0x1002ce77
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov word [esp + 0x14], ax
xor eax, eax
mov word [esp + 0x16], ax
lea eax, [esp + 0x16]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.1003ba00
mov edi, eax
lea eax, [esp + 0x2c]
cmp eax, edi
je 0x1002cdde
cmp dword [esp + 0x40], 8
jb 0x1002cd7a
push dword [esp + 0x2c]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp dword [edi + 0x14], 8
jae 0x1002cdb1
mov eax, dword [edi + 0x10]
inc eax
je 0x1002cdbd
add eax, eax
push eax
lea eax, [esp + 0x30]
push edi
push eax
call dword [sym.imp.MSVCR110.dll_memmove]
add esp, 0xc
jmp 0x1002cdbd
mov eax, dword [edi]
mov dword [esp + 0x2c], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [esp + 0x58], 8
jb 0x1002cdf1
push dword [esp + 0x44]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0x1002ce77
jmp 0x1002ce00
mov edx, dword [esp + 0x3c]
xor eax, eax
cmp ax, word [esi]
jne 0x1002ce34
test edx, edx
je 0x1002ccd1
cmp edx, 1
jne 0x1002ce30
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
cmp word [eax], 0
je 0x1002ccd1
xor ecx, ecx
jmp 0x1002ce4f
mov ecx, esi
lea ebx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002ce40
sub ecx, ebx
sar ecx, 1
push ecx
push esi
push edx
push 0
lea ecx, [esp + 0x3c]
call fcn.1000c780
test eax, eax
je 0x1002ccd1
add esi, 2
cmp word [esi], 0
jne 0x1002ce65
inc edi
add esi, 2
cmp edi, dword [ebp + 0x10]
jb 0x1002ce00
cmp dword [esp + 0x40], 8
mov dword [esp + 0x68], 0xffffffff
jb 0x1002ce92
push dword [esp + 0x2c]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
push dword [ebp + 0x14]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
push ebx
mov ecx, esi
call fcn.10034550
cmp al, 1
jne 0x1002cecc
cmp byte [ebp + 0x1c], 0
jne 0x1002cee9
jmp 0x1002cee6
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x1002cee0
push eax
push ebx
mov ecx, esi
call fcn.10034550
test al, al
je 0x1002cec4
cmp byte [ebp + 0x1c], 0
je 0x1002cee9
add edi, 2
mov eax, edi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.1003e328
add esp, 0x58
ret 0xc