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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov ecx, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
xorps xmm0, xmm0
mov dword [esp + 0x30], edx
push edi
movsd qword [ecx + 0x20], xmm0
cmp dword [ecx + 0x10], edx
jbe 0x10103426
xor esi, esi
xor edi, edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], edi
mov eax, dword [ebp + 0x10]
mov ebx, dword [ecx + 0x14]
add ebx, edi
mov dword [esp + 0x24], ebx
mov eax, dword [eax + 0x15c8]
add eax, esi
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x30], eax
cmp dword [ebx + 0x10], eax
jbe 0x10103407
xor edi, edi
mov dword [esp + 0x1c], edi
nop dword [eax + eax]
mov esi, dword [ebx + 0x18]
add esi, edi
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], esi
cmp dword [esi + 0x18], 0
jbe 0x101033e0
add esi, 0x2c
mov dword [esp + 0x18], esi
nop dword [eax]
nop word [eax + eax]
movss xmm0, dword [esi + 0x10]
sub esp, 8
mulss xmm0, dword [0x102a58d8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x80], xmm0
fld qword [esp + 0x80]
fstp qword [esp]
call fcn.1027e9f0
fstp qword [esp + 0x80]
cvttsd2si ecx, qword [esp + 0x80]
mov eax, 0x4000000
xor edi, edi
cdq
add esp, 8
mov dword [esp + 0x54], edi
idiv ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x6c], eax
mov ecx, dword [edx + 0x10]
imul ecx, dword [edx + 0x14]
test ecx, ecx
je 0x101033bf
mov ecx, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0x58], esi
nop dword [eax]
mov edx, dword [ecx + 4]
add edx, esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x78], edx
mov eax, dword [edx + 0x14]
imul eax, dword [edx + 0x10]
test eax, eax
je 0x1010339c
xor esi, esi
mov dword [esp + 0x50], esi
mov eax, dword [edx + 0x18]
mov edx, dword [ecx]
add eax, esi
mov dword [esp + 0x48], eax
mov ebx, dword [eax + 0xc]
mov edi, ebx
mov esi, dword [eax + 0x10]
sub edi, dword [ecx - 0x10]
sub esi, dword [ecx - 0xc]
mov dword [esp + 0x40], ebx
test dl, 1
je 0x101031c8
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x18]
mov eax, dword [ecx + eax - 0x80]
sub eax, dword [ecx + ebx - 0x88]
mov ebx, dword [esp + 0x40]
add edi, eax
test dl, 2
je 0x101031e5
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx + edx - 0x7c]
sub eax, dword [ecx + edx - 0x84]
add esi, eax
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + 0x18]
sub eax, dword [ecx + 0x10]
push eax
mov eax, dword [ecx + 0x14]
sub eax, ebx
mov ebx, dword [ebp + 8]
push eax
push ebx
call fcn.10103950
add esp, 0xc
test eax, eax
je 0x10103432
imul esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 0x10]
mov ebx, dword [ebx + 0x14]
mov eax, dword [eax + 0x20]
add esi, edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], ecx
lea edi, [eax + esi*4]
mov eax, dword [esp + 0x44]
cmp dword [eax + 0x14], 1
jne 0x10103295
test ebx, ebx
je 0x1010331c
mov eax, dword [esp + 0x28]
lea esi, [ecx*4]
shl eax, 2
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], esi
test ecx, ecx
je 0x10103283
mov esi, dword [esp + 0x2c]
mov ecx, edx
mov edx, edi
mov eax, dword [edx]
lea edx, [edx + 4]
shl eax, 6
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
sub esi, 1
jne 0x10103260
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
add edx, esi
add edi, eax
mov dword [esp + 0x20], edx
sub ebx, 1
jne 0x10103254
jmp 0x1010331c
test ebx, ebx
je 0x1010331c
mov eax, dword [esp + 0x28]
lea esi, [ecx*4]
shl eax, 2
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], esi
test ecx, ecx
je 0x1010330f
mov dword [esp + 0x3c], edx
mov edx, edi
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], ecx
mov eax, dword [edx]
xor ecx, ecx
imul dword [esp + 0x6c]
mov esi, eax
and esi, 0x1000
add esi, eax
mov eax, dword [esp + 0x3c]
adc ecx, edx
mov edx, dword [esp + 0x38]
shrd esi, ecx, 0xd
add edx, 4
sar esi, 5
mov dword [eax], esi
add eax, 4
sub dword [esp + 0x40], 1
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
jne 0x101032c5
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
add edx, esi
add edi, eax
mov dword [esp + 0x20], edx
sub ebx, 1
jne 0x101032b3
push dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x28]
push eax
push dword [eax + 0x10]
movss xmm0, dword [esi + 0x10]
push dword [ecx + 0x10]
mov eax, dword [ebx + 0x10]
sub eax, dword [esp + 0x40]
sub esp, 8
cvtps2pd xmm0, xmm0
dec eax
movsd qword [esp], xmm0
push dword [ecx + 0x14]
push eax
push dword [esp + 0x54]
push dword [esi]
push dword [esp + 0x70]
push dword [ebp + 8]
call fcn.10105c80
mov edx, dword [esp + 0xa8]
add esp, 0x30
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
inc ecx
add esi, 0x30
mov dword [esp + 0x4c], ecx
mov eax, dword [edx + 0x10]
imul eax, dword [edx + 0x14]
mov dword [esp + 0x50], esi
cmp ecx, eax
mov ecx, dword [esp + 0x18]
jb 0x10103186
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
inc edi
add esi, 0x28
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], esi
mov eax, dword [edx + 0x10]
imul eax, dword [edx + 0x14]
cmp edi, eax
jb 0x10103160
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x60]
add esi, 0x24
inc eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x60], eax
cmp eax, dword [edx + 0x18]
jb 0x101030f0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
inc eax
add edi, 0x88
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], edi
cmp eax, dword [ebx + 0x10]
jb 0x101030c0
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
inc edx
add edi, 0x2c
add esi, 0x438
mov dword [esp + 0x34], edx
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], esi
cmp edx, dword [ecx + 0x10]
jb 0x10103082
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret