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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x70
mov edi, ecx
mov esi, eax
mov ebp, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
xor edx, edx
mov dword [ebp], edx
mov dword [eax], edx
mov dword [esp + 0x5c], edx
inc dword [0x102192e4]
mov dword [ecx], edx
push 4
push 1
call fcn.101beb7a
mov dword [esp + 0x54], eax
push 4
push 1
call fcn.101beb7a
mov dword [esp + 0x58], eax
mov ebx, edi
shl ebx, 4
push ebx
call fcn.101bcde0
mov edx, dword [esp + 0x60]
push ebx
push esi
mov dword [edx], eax
push eax
call fcn.101d7590
add esp, 0x20
mov eax, dword [esp + 0x48]
movss xmm0, dword [0x101e81a0]
mov dword [eax], edi
mov ebx, 1
mov dword [esp + 0x50], ebx
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
lea edx, [esp + 0x44]
lea ebp, [ebp + eax*4]
lea edi, [edi + eax*4]
push edx
lea ecx, [esp + 0x44]
push ecx
push dword [ebp - 4]
push dword [edi - 4]
call fcn.100b4410
add esp, 0x10
test eax, eax
jne 0x100f7eae
mov edx, dword [esp + 0x40]
lea esi, [esp + 0x3c]
mov ecx, dword [ebp - 4]
mov dword [esp + 0x18], esi
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x5c]
mov dword [esp + 0x1c], eax
mov eax, dword [edi - 4]
call fcn.100f7f8c
test eax, eax
jne 0x100f79fb
cmp dword [esp + 0x5c], 1
je 0x100f7c89
mov esi, dword [edi - 4]
mov dword [esp + 0x38], esi
mov esi, dword [ebp - 4]
mov eax, esi
shl eax, 5
push eax
call fcn.101bcde0
mov dword [esp + 0x6c], eax
mov ebx, esi
shl ebx, 4
push ebx
call fcn.101bcde0
mov dword [esp + 0x6c], eax
push ebx
push dword [esp + 0x44]
push dword [esp + 0x78]
call fcn.101d7590
mov eax, esi
shl eax, 4
add eax, dword [esp + 0x7c]
push ebx
push dword [esp + 0x50]
push eax
call fcn.101d7590
lea ebx, [esi*8]
push ebx
push dword [esp + 0x64]
push dword [esp + 0x8c]
call fcn.101d7590
mov eax, dword [esp + 0x90]
push ebx
lea edx, [eax + esi*8]
push dword [esp + 0x70]
push edx
call fcn.101d7590
add esp, 0x38
test esi, esi
jle 0x100f7d49
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebp
mov ebx, 0xffffffff
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
xor edx, edx
mov dword [esp + 0x2c], edx
mov ebx, edx
mov ebp, edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebp
mov edi, ebx
mov dword [esp + 0x14], ebp
lea ecx, [esp + 0x60]
mov dword [esp + 0x18], ecx
shl edi, 4
add edi, dword [esp + 0x68]
lea ecx, [esp + 0x5c]
lea edx, [edx + ebx*8]
mov eax, edi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x1c], ecx
mov ecx, esi
call fcn.100f7f8c
test eax, eax
jne 0x100f7ae4
cmp dword [esp + 0x5c], 1
je 0x100f7d40
mov eax, dword [esp + 0x60]
cmp eax, 2
jl 0x100f7b54
mov dword [esp + 0x58], ebx
mov ebx, eax
mov dword [esp + 0xc], ebx
mov eax, edi
mov edx, esi
xor ecx, ecx
call fcn.100f8dec
test eax, eax
je 0x100f7b43
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1c], ecx
lea ebp, [ebx + 1]
xor edx, edx
mov eax, edi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
mov ecx, ebp
mov dword [esp + 0x14], edx
lea edx, [esp + 0x60]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x6c]
call fcn.100f7f8c
test eax, eax
jne 0x100f7b43
cmp dword [esp + 0x5c], 1
je 0x100f7e3c
dec ebx
cmp ebx, 2
jge 0x100f7af3
nop
lea esi, [esi]
mov ebx, dword [esp + 0x58]
xor ebp, ebp
inc ebx
cmp ebx, esi
jl 0x100f7a9c
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
cvtsi2ss xmm1, edx
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
movss xmm0, dword [0x101e81a0]
ucomiss xmm0, xmm1
jp 0x100f7b84
je 0x100f7d49
cmp ebx, 0xffffffff
je 0x100f7d49
mov eax, dword [esp + 0x98]
push 4
mov ecx, dword [eax]
lea edx, [ecx + 1]
push edx
push ecx
mov eax, dword [esp + 0x9c]
push dword [eax]
call fcn.100db0e0
mov edx, dword [esp + 0xa0]
mov dword [edx], eax
mov eax, dword [esp + 0xa8]
push 4
mov eax, dword [eax]
lea ecx, [eax + 1]
push ecx
push eax
mov edx, dword [esp + 0xb0]
push dword [edx]
call fcn.100db0e0
add esp, 0x20
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
mov dword [ecx], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [edx]
shl ebx, 4
add ebx, dword [esp + 0x68]
mov dword [esp + 0xc], ecx
lea eax, [eax + edx*4]
mov ecx, dword [esp + 0x90]
mov ecx, dword [ecx]
mov dword [esp + 0x14], eax
lea ecx, [ecx + edx*4]
add edi, 0xfffffffc
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edi
add ebp, 0xfffffffc
mov eax, ebx
mov dword [esp + 0x1c], ebp
mov edx, esi
xor ecx, ecx
call fcn.100f8cd0
mov eax, dword [esp + 0x98]
push dword [esp + 0x68]
inc dword [eax]
call fcn.101bceaa
push dword [esp + 0x68]
call fcn.101bceaa
push dword [esp + 0x40]
call fcn.101bceaa
add esp, 0xc
push dword [esp + 0x40]
call fcn.101bceaa
pop ecx
cmp dword [esp + 0x50], 0
mov dword [esp + 0x40], 0
jg 0x100f798c
push dword [esp + 0x4c]
call fcn.101bceaa
push dword [esp + 0x4c]
call fcn.101bceaa
add esp, 8
xor eax, eax
add esp, 0x70
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, dword [esp + 0x98]
push 4
mov ecx, dword [eax]
lea edx, [ecx + 1]
push edx
push ecx
mov ebx, dword [esp + 0x9c]
push dword [ebx]
call fcn.100db0e0
mov edx, dword [esp + 0xa0]
mov dword [edx], eax
mov eax, dword [esp + 0xa8]
push 4
mov ebx, dword [eax]
lea ecx, [ebx + 1]
push ecx
push ebx
mov esi, dword [esp + 0xb0]
push dword [esi]
call fcn.100db0e0
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0xb0]
mov dword [edx], eax
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax]
mov ebx, dword [ebx]
mov esi, dword [edi - 4]
mov dword [ebx + ecx*4], esi
mov ecx, dword [eax]
mov edx, dword [edx]
mov ebp, dword [ebp - 4]
mov dword [edx + ecx*4], ebp
inc dword [eax]
mov dword [edi - 4], 0
mov edi, dword [esp + 0x70]
lea ebx, [edi - 1]
push 4
push ebx
push edi
push dword [esp + 0x78]
call fcn.100db0e0
mov dword [esp + 0x7c], eax
push 4
push ebx
push dword [esp + 0x88]
push dword [esp + 0x84]
call fcn.100db0e0
add esp, 0x40
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], ebx
jmp 0x100f7c4d
mov dword [esp + 0x2c], ebp
jmp 0x100f7b54
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x90]
push eax
call fcn.101bceaa
push esi
call fcn.101bceaa
push dword [esp + 0x40]
call fcn.101bceaa
push dword [esp + 0x4c]
call fcn.101bceaa
add esp, 0x10
mov eax, dword [esp + 0x98]
mov dword [esp + 0x40], 0
cmp dword [eax], 0
jle 0x100f7db5
mov esi, dword [esp + 0x98]
xor edi, edi
mov eax, dword [ebp]
push dword [eax + edi*4]
call fcn.101bceaa
pop ecx
mov eax, dword [ebp]
mov dword [eax + edi*4], 0
inc edi
cmp edi, dword [esi]
jl 0x100f7d9a
push dword [ebp]
call fcn.101bceaa
mov eax, dword [esp + 0x98]
mov dword [ebp], 0
push dword [eax]
call fcn.101bceaa
add esp, 8
mov eax, dword [esp + 0x94]
mov dword [eax], 0
cmp ebx, 1
jle 0x100f7e03
mov edi, dword [esp + 0x4c]
xor esi, esi
dec ebx
push dword [edi + esi*4]
call fcn.101bceaa
pop ecx
mov dword [edi + esi*4], 0
inc esi
cmp esi, ebx
jl 0x100f7dee
push dword [esp + 0x4c]
call fcn.101bceaa
push dword [esp + 0x4c]
call fcn.101bceaa
add esp, 8
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
xor eax, eax
mov dword [edx], eax
mov dword [ecx], eax
mov dword [ebp], eax
mov eax, 0x63
add esp, 0x70
pop ebx
pop ebp
pop esi
pop edi
ret
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x54], ebp
mov eax, ebx
mov ebx, dword [esp + 0x58]
xor ebp, ebp
mov edi, ebp
mov ebp, edi
mov dword [esp + 0x20], eax
lea edx, [ebx + eax]
mov ebx, edx
movsd xmm0, qword [0x101e8188]
mov eax, ebx
cdq
idiv esi
cmpltsd xmm0, qword [ecx + edx*8]
dec ebx
inc ebp
movd eax, xmm0
neg eax
add edi, eax
cmp ebp, dword [esp + 0x54]
jb 0x100f7e59
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
xor ebp, ebp
cmp edi, edx
cmovg edx, edi
mov edi, dword [esp + 0x24]
cmovg ecx, ebx
cmovg edi, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edi
jmp 0x100f7b54
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x90]
push dword [esp + 0x40]
call fcn.101bceaa
pop ecx
mov eax, dword [esp + 0x98]
cmp dword [eax], 0
jle 0x100f7ef3
mov edi, dword [esp + 0x98]
xor esi, esi
mov eax, dword [ebp]
push dword [eax + esi*4]
call fcn.101bceaa
pop ecx
mov eax, dword [ebp]
mov dword [eax + esi*4], 0
inc esi
cmp esi, dword [edi]
jl 0x100f7ed8
push dword [ebp]
call fcn.101bceaa
mov eax, dword [esp + 0x98]
mov dword [ebp], 0
push dword [eax]
call fcn.101bceaa
add esp, 8
mov eax, dword [esp + 0x94]
mov edi, dword [esp + 0x4c]
mov dword [eax], 0
xor esi, esi
push dword [edi + esi*4]
call fcn.101bceaa
pop ecx
mov dword [edi + esi*4], 0
inc esi
cmp esi, ebx
jl 0x100f7f26
push dword [esp + 0x4c]
call fcn.101bceaa
push dword [esp + 0x4c]
call fcn.101bceaa
add esp, 8
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
xor eax, eax
mov dword [edx], eax
mov dword [ecx], eax
mov dword [ebp], eax
mov eax, 0x63
add esp, 0x70
pop ebx
pop ebp
pop esi
pop edi
ret