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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005bc86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
cmp byte [ebp + 0x18], 0
push ebx
push esi
push edi
mov byte [esp + 0x14], dl
mov edi, ecx
je 0x1001ea61
push 0x67a5
push dword [ebp + 8]
mov edx, 0x4f93
mov ecx, 0xa63
push 0
call fcn.1001eded
add esp, 0xc
jmp 0x1001ecbd
test dl, dl
je 0x1001ec26
mov dword [esp + 0x30], 0x19eb
cmp dword [esp + 0x30], 0x61f
push 0
pop ebx
jge 0x1001ec01
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], ebx
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], ebx
push eax
push str._d__d
call fcn.1004284b
add esp, 0xc
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x38]
mov dword [esp + 0x58], ebx
lea ecx, [esp + 0x58]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
push eax
push ebx
call fcn.10030ac0
mov edi, ebx
mov dword [esp + 0x64], edi
mov dword [esp + 0x84], ebx
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
test esi, esi
jle 0x1001eb49
lea eax, [esp + 0x24]
push eax
push 0x100642e8
call fcn.1004284b
mov eax, dword [esp + 0x2c]
dec eax
mov eax, dword [esp + 0x60]
pop ecx
pop ecx
setne byte [esp + 0x13]
mov dword [esp + 0x48], eax
mov ecx, ebx
mov dword [esp + 0x4c], ecx
test edi, edi
je 0x1001eb1c
push edi
lea ecx, [esp + 0x4c]
call fcn.100309a3
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
push ecx
push eax
lea eax, [esp + 0x1b]
push eax
push ecx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x6c]
call fcn.100308bd
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x20], eax
cmp eax, esi
jge 0x1001eb49
mov edi, dword [esp + 0x64]
jmp 0x1001eadd
cmp dword [esp + 0x18], 0
mov ecx, ebx
mov dword [esp + 0x2c], ecx
mov edi, ebx
mov dword [esp + 0x30], ebx
jle 0x1001ebd5
mov eax, esi
cdq
idiv dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], edi
mov ecx, ebx
mov dword [esp + 0x20], ecx
mov eax, edi
cmp edi, esi
jge 0x1001ebb5
mov ebx, dword [esp + 0x58]
mov edi, ecx
mov edx, eax
mov ecx, eax
xor eax, eax
shr edx, 5
inc eax
and ecx, 0x1f
shl eax, cl
and eax, dword [ebx + edx*4]
neg eax
sbb eax, eax
neg eax
add edi, eax
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
cmp eax, esi
jl 0x1001eb7d
mov dword [esp + 0x20], edi
xor ebx, ebx
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
sub eax, ecx
cmp ecx, eax
cmovl eax, ecx
mov ecx, dword [esp + 0x2c]
add ecx, eax
inc edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edi
cmp edi, dword [esp + 0x18]
jl 0x1001eb67
push ecx
push 0x10063d00
call fcn.10042b33
mov eax, dword [esp + 0x60]
mov dword [esp + 0x6c], ebx
pop ecx
pop ecx
test eax, eax
je 0x1001ec01
push eax
call fcn.10042d09
pop ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov edx, dword [ebp + 0x14]
mov dword [edx], ebx
xor ebx, ebx
inc ebx
cmp dword [edx], ebx
jge 0x1001ecbd
mov esi, dword [ebp + 0x10]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], ebx
inc dword [edx]
cmp dword [edx], ebx
jl 0x1001ec14
jmp 0x1001ecbd
mov dword [esp + 0x3c], 0x1d93
cmp dword [esp + 0x3c], 0x7a5
jge 0x1001eca9
lea eax, [esp + 0x34]
xorps xmm0, xmm0
push eax
push 0x10063a64
movdqu xmmword [esp + 0x70], xmm0
call fcn.1004284b
xor ebx, ebx
mov esi, ebx
pop ecx
pop ecx
cmp dword [esp + 0x34], ebx
jle 0x1001ec7c
lea eax, [esp + 0x40]
push eax
push 0x100642e8
call fcn.1004284b
mov eax, dword [esp + 0x48]
pop ecx
pop ecx
inc dword [esp + eax*4 + 0x68]
inc esi
cmp esi, dword [esp + 0x34]
jl 0x1001ec5c
mov byte [esp + 0x44], bl
lea edx, [esp + 0x78]
push dword [esp + 0x44]
lea ecx, [esp + 0x6c]
push 4
call fcn.1003155f
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x78]
push eax
push str._ld_n
call fcn.10042b33
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov edx, dword [edi]
mov eax, dword [eax]
imul ecx, dword [edx], 0xa
movsx eax, byte [eax]
add eax, 0xffffffd0
add eax, ecx
mov dword [edx], eax
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret