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

Disassembly:
sub esp, 0x518
mov eax, dword [0x101e900c]
xor eax, esp
mov dword [esp + 0x514], eax
mov ecx, dword [esp + 0x51c]
mov edx, dword [esp + 0x520]
push ebx
push ebp
mov eax, dword [ecx + 0x14]
xor ebx, ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 8], edx
mov dword [esp + 0x24], ebx
mov ebp, dword [eax]
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x50], eax
cmp dword [ebp + 0x10], ebx
jbe 0x100a3116
mov eax, dword [ecx + 0x1c]
lea ecx, [esp + 0x6c]
add eax, 0x58
movsd xmm2, qword [0x101a7938]
mov dword [esp + 0x54], eax
mov eax, edx
shl eax, 4
sub eax, edx
push esi
push edi
xor edi, edi
lea eax, [ecx + eax*8]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x64], eax
mov eax, edx
shl eax, 4
sub eax, edx
xor ecx, ecx
mov dword [esp + 0x54], ecx
lea eax, [esp + eax*8 - 4]
mov dword [esp + 0x60], eax
nop dword [eax]
mov esi, dword [ebp + 0x14]
mov eax, dword [esp + 0x58]
add esi, ecx
mov dword [esp + 0x4c], esi
mov eax, dword [eax + 8]
lea ecx, [esi + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
test eax, eax
je 0x100a2eaa
mov esi, dword [ecx]
lea ebx, [esp + 0x74]
xor ebp, ebp
mov dword [esp + 0x24], esi
lea ecx, [esi + esi*2]
shl ecx, 2
mov dword [esp + 0x20], ecx
nop dword [eax]
test esi, esi
je 0x100a2e86
mov eax, dword [esp + 0x30]
mov edx, ebx
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + edi + 0x18]
mov edi, esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101e6560]
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mulsd xmm0, xmm2
add ecx, ebp
cvtpd2ps xmm1, xmm0
nop word [eax + eax]
mov esi, 3
movd xmm0, dword [ecx]
add ecx, 4
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [edx], eax
add edx, 4
sub esi, 1
jne 0x100a2e55
sub edi, 1
jne 0x100a2e50
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
add ebp, ecx
add ebx, 0x78
sub eax, 1
mov dword [esp + 0x14], eax
jne 0x100a2e10
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x50]
jmp 0x100a2eae
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x48], ecx
cmp dword [eax], ecx
jbe 0x100a30f0
mov ebp, dword [esp + 0x60]
xor ebx, ebx
mov eax, dword [esp + 0x64]
sub eax, ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ebp
nop dword [eax]
mov edi, dword [esi + 0x1c]
xor esi, esi
add edi, ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x70], edi
cmp dword [edi + 0x18], esi
jbe 0x100a30be
mov ecx, ebp
lea ebp, [edi + 0x28]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], ebp
nop word [eax + eax]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
je 0x100a308e
mov eax, dword [ebp]
sub eax, dword [ebp - 8]
je 0x100a308e
mov eax, dword [edi + 0x10]
xor ebx, ebx
imul eax, dword [edi + 0x14]
mov dword [esp + 0x3c], ebx
test eax, eax
je 0x100a308e
xor esi, esi
mov dword [esp + 0x40], esi
mov ebp, dword [ebp + 8]
add ebp, esi
mov dword [esp + 0x34], 0
mov eax, dword [ebp + 0x10]
imul eax, dword [ebp + 0x14]
test eax, eax
je 0x100a3067
lea eax, [edx + edx*2]
shl eax, 3
xor edx, edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x38], edx
nop
mov esi, dword [ebp + 0x18]
add esi, edx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esi + 4]
add ebx, eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x18]
mov edx, dword [eax + edx + 0x18]
mov eax, dword [esp + 0x68]
sub edx, dword [esi + 0x1c]
cmp dword [esp + 0x10], 0
mov edi, dword [eax + ecx]
jne 0x100a2fb1
mov eax, edi
mov dword [esi + 0x2c], 0
sub eax, edx
xor ecx, ecx
cmp edx, edi
cmovl ecx, eax
jmp 0x100a2fc7
mov eax, dword [ecx]
mov ecx, edi
sub ecx, eax
cmp edx, eax
jl 0x100a2fc7
sub eax, edx
add ecx, eax
mov eax, 0
cmovs ecx, eax
mov edi, dword [esi + 0x2c]
test edi, edi
jne 0x100a2fde
test ecx, ecx
je 0x100a2fda
lea edx, [ecx - 1]
lea edx, [ecx + edx*2]
jmp 0x100a2fe3
xor edx, edx
jmp 0x100a2fe3
lea edx, [edi + ecx*2]
add edx, ecx
mov eax, edx
sub eax, edi
mov dword [ebx], eax
je 0x100a3030
mov eax, dword [esi + 0x2c]
lea ecx, [edx + edx*2]
mov edi, dword [esi + 8]
test eax, eax
jne 0x100a3003
mov eax, dword [edi + ecx*8 - 0x18]
mov dword [ebx + 4], eax
mov eax, dword [esi]
jmp 0x100a3020
mov ecx, dword [edi + ecx*8 - 0x18]
lea eax, [eax + eax*2]
sub ecx, dword [edi + eax*8 - 0x18]
mov dword [ebx + 4], ecx
mov eax, dword [esi + 0x2c]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 8]
mov eax, dword [eax + ecx*8 - 0x18]
add eax, dword [esi]
cmp dword [esp + 0x534], 0
mov dword [ebx + 0x10], eax
je 0x100a3030
mov dword [esi + 0x2c], edx
mov eax, dword [ebp + 0x10]
imul eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
inc ecx
add edx, 0x34
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
cmp ecx, eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x6c]
jb 0x100a2f70
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x70]
mov eax, dword [edi + 0x10]
inc ebx
imul eax, dword [edi + 0x14]
add esi, 0x28
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], esi
cmp ebx, eax
jb 0x100a2f43
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x10]
inc esi
add ebp, 0x24
mov dword [esp + 0x44], esi
add ecx, 4
mov dword [esp + 0x28], ebp
mov dword [esp + 0x14], ecx
cmp esi, dword [edi + 0x18]
jb 0x100a2f10
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
inc ecx
mov esi, dword [esp + 0x4c]
add ebx, 0x98
add ebp, 0xc
mov dword [esp + 0x48], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
cmp ecx, dword [eax]
jb 0x100a2ee0
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
inc ebx
mov edx, dword [esp + 0x10]
add ecx, 0x4c
add edi, 0x34
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x1c], edi
cmp ebx, dword [ebp + 0x10]
jb 0x100a2dd0
pop edi
pop esi
mov ecx, dword [esp + 0x51c]
pop ebp
pop ebx
xor ecx, esp
call fcn.101044b9
add esp, 0x518
ret