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

Disassembly:
sub esp, 0x70
push ebx
mov ebx, dword [esp + 0x78]
push ebp
push esi
push edi
mov ebp, dword [ebx + 0x14]
test ebp, ebp
je 0x10005bc5
push ebp
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.10004880
mov esi, dword [esp + 0x3c]
lea edi, [ebp*4]
push edi
push 0
push esi
call fcn.10013800
add esp, 0xc
mov dword [esp + 0x30], 0
lea eax, [edi + esi]
mov dword [esp + 0x34], 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], 0
push ebp
call fcn.10004880
mov esi, dword [esp + 0x30]
push edi
push 0
push esi
call fcn.10013800
add esp, 0xc
mov dword [esp + 0x24], 0
lea eax, [edi + esi]
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], 0
push ebp
call fcn.10004880
mov esi, dword [esp + 0x24]
push edi
push 0
push esi
call fcn.10013800
add esp, 0xc
lea eax, [edi + esi]
xor ecx, ecx
mov dword [esp + 0x28], eax
test ebp, ebp
jle 0x100058ca
mov eax, dword [esp + 0x24]
xor edx, edx
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x24]
lea edx, [edx + 0x20]
mov eax, dword [eax + ecx*4]
mov dword [esi + ecx*4], eax
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + edx - 0x18]
mov dword [edi + ecx*4], eax
mov eax, dword [ebx + 0x18]
mov ebx, dword [esp + 0x18]
mov eax, dword [eax + edx - 0x14]
mov dword [ebx + ecx*4], eax
mov ebx, dword [esp + 0x84]
mov eax, dword [ebx + 0x34]
mov dword [eax + ecx*4], 0
inc ecx
cmp ecx, ebp
jl 0x10005890
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x60]
push ebp
push eax
call fcn.10009490
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x6c]
push ebp
push eax
call fcn.1000a900
mov ebx, dword [esp + 0x78]
xor ecx, ecx
mov edx, dword [esp + 0x74]
mov eax, ebx
sub eax, edx
mov dword [esp + 0x40], ecx
sar eax, 5
add esp, 0x2c
test eax, eax
je 0x10005a54
movss xmm2, dword [0x10029260]
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov edi, ebx
sub edi, edx
sar edi, 5
cmp edi, ecx
jbe 0x10005bd6
add ecx, 0xffffffff
movaps xmm1, xmm2
movups xmm0, xmmword [edx + ebp]
movss dword [esp + 0x10], xmm1
movups xmmword [esp + 0x60], xmm0
movups xmm0, xmmword [edx + ebp + 0x10]
movups xmmword [esp + 0x70], xmm0
js 0x1000598f
lea esi, [ebp - 8]
add esi, edx
cmp edi, ecx
jbe 0x10005bd6
movss xmm0, dword [esi]
ucomiss xmm0, dword [edx + ebp + 0x18]
lahf
test ah, 0x44
jp 0x1000598f
addss xmm1, xmm2
sub esi, 0x20
sub ecx, 1
movss dword [esp + 0x10], xmm1
jns 0x10005966
mov ebx, dword [esp + 0x64]
mov ecx, ebx
mov esi, dword [esp + 0x60]
sub ecx, esi
inc ecx
cmp esi, ebx
jg 0x10005a31
mov edi, dword [esp + 0x84]
cmp ecx, 4
jb 0x10005a16
mov eax, dword [edi + 0x34]
lea ebp, [eax + esi*4]
lea eax, [eax + ebx*4]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
lea eax, [edi + 0x34]
cmp ebp, eax
mov ebp, dword [esp + 0x18]
ja 0x100059d2
cmp dword [esp + 0x1c], eax
jae 0x10005a16
and ecx, 0x80000003
jns 0x100059df
dec ecx
or ecx, 0xfffffffc
inc ecx
mov eax, ebx
sub eax, ecx
add esi, 4
cmp esi, eax
jle 0x100059e3
sub eax, dword [esp + 0x60]
mov edi, dword [esp + 0x20]
add eax, 4
cdq
and edx, 3
lea ecx, [edx + eax]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
sar ecx, 2
shl ecx, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x84]
cmp esi, ebx
jg 0x10005a31
nop word [eax + eax]
mov eax, dword [edi + 0x34]
movss dword [eax + esi*4], xmm1
inc esi
cmp esi, ebx
jle 0x10005a20
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
add ebp, 0x20
mov ecx, dword [esp + 0x14]
mov eax, ebx
sub eax, edx
mov dword [esp + 0x18], ebp
inc ecx
sar eax, 5
mov dword [esp + 0x14], ecx
cmp ecx, eax
jb 0x10005931
test edx, edx
je 0x10005aa1
mov ecx, dword [esp + 0x50]
mov eax, edx
sub ecx, edx
and ecx, 0xffffffe0
cmp ecx, 0x1000
jb 0x10005a7f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005bd1
push ecx
push edx
call fcn.10010e66
add esp, 8
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov edx, dword [esp + 0x54]
test edx, edx
je 0x10005af2
mov ecx, dword [esp + 0x5c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10005ad0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005bd1
push ecx
push edx
call fcn.10010e66
add esp, 8
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov edx, dword [esp + 0x24]
test edx, edx
je 0x10005b43
mov ecx, dword [esp + 0x2c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10005b21
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005bd1
push ecx
push edx
call fcn.10010e66
add esp, 8
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov edx, dword [esp + 0x30]
test edx, edx
je 0x10005b90
mov ecx, dword [esp + 0x38]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10005b6e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005bd1
push ecx
push edx
call fcn.10010e66
add esp, 8
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x10005bc5
mov ecx, dword [esp + 0x44]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10005bbb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005bd1
push ecx
push edx
call fcn.10010e66
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x70
ret 4
call fcn.10016a8f
call fcn.10004940
int3