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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x102553f7
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x50], ebx
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0xc]
test eax, eax
jle 0x100c32c5
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
test eax, eax
jle 0x100c32c5
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x68]
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x58]
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
lea eax, [ebp + 8]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x80]
push eax
call dword [0x102ab980]
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x7c]
push eax
call dword [0x102abaa4]
test eax, eax
je 0x100c32c5
mov esi, dword [ebp + 0x10]
xor ecx, ecx
mov edi, dword [ebp + 0x14]
sub esi, dword [ebp + 8]
sub edi, dword [ebp + 0xc]
mov dword [esp + 0x40], esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x30], 0x10040f2c
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x98], ecx
mov eax, dword [ebx + 4]
test eax, eax
jne 0x100c301d
mov eax, ecx
jmp 0x100c3020
mov eax, dword [eax + 4]
push eax
call dword [0x102ab054]
push eax
lea ecx, [esp + 0x34]
call fcn.10273aed
test eax, eax
je 0x100c32b4
and dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x10005fc8
mov byte [esp + 0x98], 1
mov eax, dword [ebx + 4]
push edi
push esi
push dword [eax + 4]
call dword [0x102ab098]
push eax
lea ecx, [esp + 0x28]
call fcn.10274d53
test eax, eax
je 0x100c329b
push dword [esp + 0x28]
push dword [esp + 0x38]
call fcn.10273c3c
xor ecx, ecx
mov dword [esp + 0x64], eax
test eax, eax
setne cl
test ecx, ecx
jne 0x100c308f
call fcn.1021f333
lea eax, [esp + 0x10]
mov dword [esp + 0x5c], esi
push eax
lea eax, [esp + 0x60]
mov dword [esp + 0x64], edi
push eax
call fcn.100c26f0
mov dword [esp + 0x5c], eax
test eax, eax
je 0x100c329b
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x100c329b
push eax
push dword [esp + 0x38]
call dword [0x102ab05c]
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 4]
test eax, eax
je 0x100c30db
mov eax, dword [eax + 4]
push 0xcc0020
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
push edi
push esi
push 0
push 0
push dword [esp + 0x54]
call dword [0x102ab0a0]
cmp dword [ebp + 0x18], 0
je 0x100c31d4
test edi, edi
js 0x100c324a
mov eax, esi
imul ecx, esi, 0xfffffffc
cdq
sub eax, edx
mov edx, eax
mov eax, esi
neg eax
sar edx, 1
mov dword [esp + 0x2c], eax
mov eax, edi
imul eax, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x4c], eax
lea ecx, [ebx + eax*4]
lea eax, [edi + 1]
mov dword [esp + 0x14], ecx
imul eax, esi
lea ebx, [ebx + eax*4]
lea eax, [edi + 1]
add ebx, 0xfffffffc
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], ebx
test edx, edx
js 0x100c31bc
mov edx, ecx
mov eax, edi
lea ecx, [esi - 1]
mov dword [esp + 0x48], eax
mov esi, dword [esp + 0x54]
add ecx, edi
inc esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x40]
cmp eax, dword [esp + 0x4c]
jge 0x100c3196
cmp ecx, dword [esp + 0x4c]
jge 0x100c3196
mov ecx, dword [edx]
mov eax, dword [ebx]
mov dword [edx], eax
mov eax, dword [esp + 0x48]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x44]
add edx, 4
sub ebx, 4
dec ecx
inc eax
dec dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
jne 0x100c317a
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x20]
add edi, dword [esp + 0x2c]
add ecx, eax
add ebx, eax
mov dword [esp + 0x14], ecx
dec dword [esp + 0x10]
mov dword [esp + 0x18], ebx
jne 0x100c3158
jmp 0x100c3246
mov eax, edi
cdq
sub eax, edx
sar eax, 1
js 0x100c324a
imul edx, esi, 0xfffffffc
mov ecx, esi
shl ecx, 2
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], edx
lea edx, [edi*4 - 4]
mov edi, dword [esp + 0x10]
imul edx, esi
add edx, ebx
inc eax
mov dword [esp + 0x14], eax
test esi, esi
jle 0x100c3237
mov dword [esp + 0x2c], ebx
mov edi, edx
mov ebx, esi
mov esi, dword [esp + 0x2c]
mov ecx, dword [esi]
mov eax, dword [edi]
mov dword [esi], eax
lea esi, [esi + 4]
mov dword [edi], ecx
lea edi, [edi + 4]
dec ebx
jne 0x100c3212
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
add ebx, ecx
add edx, edi
dec eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
jne 0x100c3202
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
xor ebx, ebx
push 0xcc0020
push ebx
push ebx
push dword [esp + 0x40]
mov eax, dword [eax + 4]
push edi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [eax + 4]
call dword [0x102ab0a0]
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x100c327b
mov eax, ebx
jmp 0x100c327e
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x38]
call fcn.10273c3c
push dword [esp + 0x5c]
call dword [0x102ab058]
mov byte [esp + 0x98], bl
jmp 0x100c32a3
mov byte [esp + 0x98], 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0x10005fc8
call fcn.10097cc7
or dword [esp + 0x98], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.10273b6c
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1028105c
mov esp, ebp
pop ebp
ret 0x14