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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10255572
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov dword [esp + 0x28], ecx
cmp dword [ebp + 0x18], 0xffffffff
je 0x100c5460
mov edi, dword [ebp + 0x10]
sub edi, dword [ebp + 8]
mov esi, dword [0x102ab68c]
push edi
call esi
mov ebx, dword [ebp + 0x14]
sub ebx, dword [ebp + 0xc]
push ebx
mov dword [esp + 0x20], eax
call esi
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x30], ecx
test edi, edi
jne 0x100c5190
and dword [esp + 0x2c], edi
jmp 0x100c51a2
xor eax, eax
test edi, edi
setg al
lea eax, [eax*2 - 1]
mov dword [esp + 0x2c], eax
test ebx, ebx
jne 0x100c51ac
mov dword [esp + 0x1c], ebx
jmp 0x100c51be
xor eax, eax
test ebx, ebx
setg al
lea eax, [eax*2 - 1]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x18], 0
jne 0x100c51cd
test ecx, ecx
je 0x100c5460
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x68], eax
call fcn.100c7fde
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
inc edi
inc esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], esi
sub esi, dword [esp + 0x60]
sub edi, dword [esp + 0x5c]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], esi
je 0x100c5460
test esi, esi
je 0x100c5460
xor ecx, ecx
mov dword [esp + 0x6c], 0x10040f2c
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x88], ecx
mov eax, dword [eax + 4]
test eax, eax
jne 0x100c524e
mov eax, ecx
jmp 0x100c5251
mov eax, dword [eax + 4]
push eax
call dword [0x102ab054]
push eax
lea ecx, [esp + 0x70]
call fcn.10273aed
test eax, eax
je 0x100c544f
and dword [esp + 0x48], 0
mov dword [esp + 0x44], 0x10005fc8
xor eax, eax
inc eax
mov byte [esp + 0x88], al
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
push esi
push edi
mov eax, dword [eax + 4]
push dword [eax + 4]
call dword [0x102ab098]
push eax
lea ecx, [esp + 0x48]
call fcn.10274d53
test eax, eax
je 0x100c5436
push dword [esp + 0x48]
push dword [esp + 0x74]
call fcn.10273c3c
xor ecx, ecx
mov dword [esp + 0x3c], eax
test eax, eax
setne cl
test ecx, ecx
jne 0x100c52ca
call fcn.1021f333
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100c26f0
mov dword [esp + 0x40], eax
test eax, eax
je 0x100c5436
cmp dword [esp + 0x24], 0
je 0x100c5436
push eax
push dword [esp + 0x74]
call dword [0x102ab05c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov byte [esp + 0x17], 0
cmp ecx, edx
jle 0x100c531e
mov eax, edx
mov edx, ecx
mov ecx, eax
mov dword [esp + 0x18], edx
mov al, byte [esp + 0x20]
mov byte [esp + 0x17], al
mov esi, dword [ebp + 0xc]
lea eax, [ecx + ecx]
mov ecx, dword [ebp + 0x18]
mov edi, eax
sub edi, edx
mov dword [esp + 0x38], eax
movzx edx, cl
mov eax, ecx
or edx, 0xffffff00
shr eax, 8
shl edx, 8
movzx eax, al
or edx, eax
shr ecx, 0x10
shl edx, 8
movzx eax, cl
or edx, eax
mov dword [esp + 0x30], edx
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x50]
sub eax, esi
mov ebx, dword [esp + 0x24]
dec ecx
add eax, ecx
mov ecx, dword [esp + 0x30]
imul eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x5c]
add eax, edx
mov dword [ebx + eax*4], ecx
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
test edi, edi
js 0x100c53a8
lea ebx, [eax + eax]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x1c]
cmp byte [esp + 0x17], 0
je 0x100c53a0
add edx, ecx
jmp 0x100c53a2
add esi, ebx
sub edi, dword [esp + 0x34]
jns 0x100c5395
cmp byte [esp + 0x17], 0
je 0x100c53b3
add esi, ebx
jmp 0x100c53b5
add edx, ecx
add edi, dword [esp + 0x38]
inc dword [esp + 0x20]
cmp dword [esp + 0x20], eax
jle 0x100c5357
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x50]
sub eax, esi
mov esi, dword [esp + 0x4c]
dec eax
mov ecx, dword [esp + 0x30]
add eax, ebx
imul eax, esi
and dword [esp + 0x4c], 0
and dword [esp + 0x50], 0
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebx
sub eax, dword [esp + 0x5c]
add eax, edx
mov edx, dword [esp + 0x24]
mov dword [edx + eax*4], ecx
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x34]
mov ecx, eax
push dword [eax + 4]
call fcn.100c7bbc
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x100c5422
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x74]
call fcn.10273c3c
push dword [esp + 0x40]
call dword [0x102ab058]
mov byte [esp + 0x88], 0
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], 0x10005fc8
call fcn.10097cc7
or dword [esp + 0x88], 0xffffffff
lea ecx, [esp + 0x6c]
call fcn.10273b6c
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14