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

Disassembly:
sub esp, 0x50c
push ebp
push edi
mov edi, dword [esp + 0x518]
mov dword [esp + 0x38], 0
mov eax, dword [edi + 0x14]
mov ebp, dword [eax]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], eax
cmp dword [ebp + 0x10], 0
jbe 0x100d65b4
mov eax, dword [edi + 0x1c]
lea ecx, [esp + 0x64]
mov edx, dword [esp + 0x51c]
add eax, 0x54
movsd xmm2, qword [0x103d7b70]
mov dword [esp + 0x48], eax
mov eax, edx
shl eax, 4
sub eax, edx
push ebx
push esi
lea eax, [ecx + eax*8]
xor ecx, ecx
mov dword [esp + 0x58], eax
mov eax, edx
shl eax, 4
sub eax, edx
mov dword [esp + 0x10], ecx
xor ebx, ebx
mov dword [esp + 0x44], ebx
lea eax, [esp + eax*8 - 0xc]
mov dword [esp + 0x54], eax
nop dword [eax]
mov eax, dword [esp + 0x4c]
mov esi, dword [ebp + 0x14]
add esi, ebx
xor ebx, ebx
mov dword [esp + 0x3c], esi
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
test eax, eax
je 0x100d634c
mov esi, dword [esi + 0x10]
lea ebp, [esp + 0x6c]
mov dword [esp + 0x18], esi
nop dword [eax]
test esi, esi
je 0x100d6339
mov eax, dword [edi + 0x18]
mov edi, esi
mov eax, dword [eax + 0x18]
mov eax, dword [eax + ecx + 0x18]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x103d8710]
mov eax, esi
imul eax, ebx
mulsd xmm0, xmm2
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x50]
cvtpd2ps xmm1, xmm0
mov eax, dword [eax]
lea edx, [eax + ecx*4]
mov ecx, ebp
nop
mov esi, 3
movd xmm0, dword [edx]
add edx, 4
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ecx], eax
add ecx, 4
sub esi, 1
jne 0x100d6305
sub edi, 1
jne 0x100d6300
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x520]
inc ebx
add ebp, 0x78
cmp ebx, eax
jb 0x100d62c0
mov edx, dword [esp + 0x524]
mov ebx, dword [esp + 0x3c]
xor ebp, ebp
mov dword [esp + 0x38], ebp
cmp dword [ebx + 0x10], ebp
jbe 0x100d657a
mov edi, dword [esp + 0x54]
xor ecx, ecx
mov eax, dword [esp + 0x58]
mov esi, edi
sub eax, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x5c], eax
nop dword [eax]
mov edi, dword [ebx + 0x18]
xor ebx, ebx
add edi, ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x68], edi
cmp dword [edi + 0x18], ebx
jbe 0x100d654c
mov ecx, esi
lea ebp, [edi + 0x30]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ebp
mov eax, dword [edi + 0x14]
xor esi, esi
imul eax, dword [edi + 0x10]
mov dword [esp + 0x2c], esi
test eax, eax
je 0x100d651d
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov ebp, dword [ebp]
add ebp, ebx
mov dword [esp + 0x24], 0
mov eax, dword [ebp + 0x10]
imul eax, dword [ebp + 0x14]
test eax, eax
je 0x100d64f3
lea eax, [edx + edx*2]
mov edx, dword [esp + 0x5c]
shl eax, 3
mov dword [esp + 0x64], eax
mov esi, dword [edx + ecx]
xor edx, edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x28], edx
mov edi, dword [ebp + 0x18]
add edi, edx
mov edx, dword [esp + 0x10]
mov ebx, dword [edi + 4]
add ebx, eax
mov eax, dword [esp + 0x520]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x18]
mov edx, dword [eax + edx + 0x18]
sub edx, dword [edi + 0x1c]
cmp dword [esp + 0x524], 0
jne 0x100d6437
mov eax, esi
mov dword [edi + 0x28], 0
sub eax, edx
xor ecx, ecx
cmp edx, esi
cmovl ecx, eax
jmp 0x100d6449
mov eax, dword [ecx]
mov ecx, esi
sub ecx, eax
cmp edx, eax
jl 0x100d6449
sub eax, edx
add ecx, eax
jns 0x100d6449
xor ecx, ecx
mov edx, dword [edi + 0x28]
test edx, edx
jne 0x100d6460
test ecx, ecx
je 0x100d645c
lea esi, [ecx - 1]
lea esi, [ecx + esi*2]
jmp 0x100d6465
xor esi, esi
jmp 0x100d6465
lea esi, [edx + ecx*2]
add esi, ecx
mov eax, esi
sub eax, edx
mov dword [ebx], eax
je 0x100d64b8
mov eax, dword [edi + 0x28]
test eax, eax
jne 0x100d6485
mov eax, dword [edi + 8]
lea ecx, [esi + esi*2]
mov eax, dword [eax + ecx*8 - 0x18]
mov dword [ebx + 4], eax
mov eax, dword [edi]
jmp 0x100d64a8
mov edx, dword [edi + 8]
lea ecx, [eax + eax*2]
lea eax, [esi + esi*2]
mov eax, dword [edx + eax*8 - 0x18]
sub eax, dword [edx + ecx*8 - 0x18]
mov dword [ebx + 4], eax
mov eax, dword [edi + 0x28]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 8]
mov eax, dword [eax + ecx*8 - 0x18]
add eax, dword [edi]
cmp dword [esp + 0x528], 0
mov dword [ebx + 0x10], eax
je 0x100d64b8
mov dword [edi + 0x28], esi
mov eax, dword [ebp + 0x10]
imul eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
inc ecx
mov esi, dword [esp + 0x60]
add edx, 0x30
mov dword [esp + 0x24], ecx
cmp ecx, eax
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x20]
jb 0x100d63f7
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x68]
mov eax, dword [edi + 0x14]
inc esi
imul eax, dword [edi + 0x10]
add ebx, 0x28
mov edx, dword [esp + 0x524]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebx
cmp esi, eax
jb 0x100d63c0
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x524]
inc ebx
add ebp, 0x24
mov dword [esp + 0x34], ebx
add ecx, 4
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ecx
cmp ebx, dword [edi + 0x18]
jb 0x100d63a5
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
inc ebp
mov edx, dword [esp + 0x524]
add ecx, 0x88
add esi, 0xc
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
cmp ebp, dword [ebx + 0x10]
jb 0x100d6380
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
add ecx, 0x34
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
inc ebp
mov edx, dword [esp + 0x524]
add ebx, 0x2c
cmp ebp, dword [eax + 0x10]
mov edi, dword [esp + 0x520]
mov dword [esp + 0x40], ebp
mov ebp, eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x10], ecx
jb 0x100d6290
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50c
ret