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

Disassembly:
sub esp, 0x48
mov eax, dword [0x103b0040]
xor eax, esp
mov dword [esp + 0x44], eax
cmp byte [esp + 0x5c], 2
xorps xmm0, xmm0
movsd xmm1, qword [esp + 0x4c]
push ebx
push ebp
sete al
comisd xmm0, xmm1
push esi
push edi
mov byte [esp + 0x13], al
jb 0x100a0964
mov esi, dword [esp + 0x64]
test esi, esi
jle 0x100a092e
test al, al
je 0x100a092e
mov edi, dword [esp + 0x70]
cmp esi, dword [edi + 0xc]
jbe 0x100a08fd
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax]
cmp esi, dword [edi + 0xc]
mov ecx, esi
push esi
cmova ecx, dword [edi + 0xc]
push 0x30
push dword [edi + 4]
mov dword [edi + 8], ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
neg esi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10123fc5
add esp, 0x48
ret
mov esi, dword [esp + 0x70]
mov ecx, dword [esi + 8]
inc ecx
cmp ecx, dword [esi + 0xc]
jbe 0x100a0942
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
mov byte [ecx + eax], 0x30
inc dword [esi + 8]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10123fc5
add esp, 0x48
ret
mov ebx, dword [esp + 0x64]
test ebx, ebx
jns 0x100a0a10
test byte [esp + 0x6e], 4
je 0x100a09af
cvtpd2ps xmm0, xmm1
push ecx
movss dword [esp], xmm0
call fcn.100a2e70
push eax
push dword [esp + 0x78]
lea eax, [esp + 0x20]
mov esi, edx
push eax
call fcn.100a4c00
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10123fc5
add esp, 0x48
ret
sub esp, 8
lea eax, [esp + 0x2c]
movsd qword [esp], xmm1
push eax
call fcn.100a3140
movups xmm1, xmmword [eax]
movaps xmm0, xmm1
psrldq xmm0, 4
movd eax, xmm0
movups xmmword [esp + 0x30], xmm1
push eax
movd eax, xmm1
push eax
push dword [esp + 0x84]
lea eax, [esp + 0x2c]
push eax
call fcn.100a4ff0
movups xmm0, xmmword [esp + 0x40]
add esp, 0x1c
psrldq xmm0, 8
movd eax, xmm0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10123fc5
add esp, 0x48
ret
mov ecx, dword [esp + 0x60]
mov edi, ecx
mov eax, dword [esp + 0x5c]
and edi, 0xfffff
shr ecx, 0x14
and ecx, 0x7ff
je 0x100a0a43
or edi, 0x100000
lea ebp, [ecx - 0x433]
shld edi, eax, 1
mov dword [esp + 0x14], ebp
add eax, eax
jmp 0x100a0a72
bsr ecx, edi
mov dword [esp + 0x14], 0
je 0x100a0a55
add ecx, 0x20
jmp 0x100a0a58
bsr ecx, eax
xor ecx, 0x3f
mov ebp, 0xfffffbcf
add ecx, 0xfffffff6
mov edx, edi
sub ebp, ecx
mov dword [esp + 0x14], ebp
call fcn.10124d50
mov edi, edx
imul ecx, ebp, 0x4d105
mov esi, 2
mov dword [esp + 0x18], eax
lea eax, [esp + 0x24]
sar ecx, 0x14
sub esi, ecx
push esi
mov ebp, esi
push eax
neg ebp
call fcn.100ab810
movups xmm0, xmmword [esp + 0x2c]
sub esp, 8
mov edx, edi
mov eax, esp
imul ecx, esi, 0x1a934f
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x28]
sar ecx, 0x13
add ecx, dword [esp + 0x24]
call fcn.10124d50
push edx
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.100ac7a0
mov eax, dword [esp + 0x40]
add esp, 0x1c
or eax, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov ecx, edi
mov esi, dword [esp + 0x30]
mov edx, esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], esi
mov byte [esp + 0x12], 1
jne 0x100a0af1
mov byte [esp + 0x12], 0
cmp edx, 0xde0b6b3
jb 0x100a0b0a
ja 0x100a0b03
cmp ecx, 0xa7640000
jb 0x100a0b0a
mov eax, 0x13
jmp 0x100a0b28
shld edx, ecx, 2
mov eax, 0x12
shl ecx, 2
add edi, ecx
adc esi, edx
shld esi, edi, 1
add edi, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
cmp byte [esp + 0x13], 0
mov dword [esp + 0x14], eax
je 0x100a0b47
add eax, ebp
push eax
lea eax, [esp + 0x68]
push eax
call fcn.100aa240
mov ebx, dword [esp + 0x6c]
add esp, 8
mov eax, dword [esp + 0x14]
cmp eax, ebx
jle 0x100a0dc8
test ebx, ebx
jg 0x100a0ba8
mov edi, dword [esp + 0x70]
add ebp, eax
mov ecx, edi
test ebx, ebx
jns 0x100a0b6f
push 0
call fcn.10053090
jmp 0x100a0f44
push 1
call fcn.10053090
movzx eax, byte [esp + 0x12]
mov ecx, dword [edi + 4]
cdq
or edx, dword [esp + 0x1c]
or eax, dword [esp + 0x20]
cmp edx, 0x45639182
jb 0x100a0ba0
ja 0x100a0b98
cmp eax, 0x44f40000
jbe 0x100a0ba0
mov byte [ecx], 0x31
jmp 0x100a0f44
mov byte [ecx], 0x30
jmp 0x100a0f44
push 0x6df37f67
push 0x5ef6eae0
sub eax, ebx
push esi
add ebp, eax
lea eax, [esp + 0x30]
push edi
push eax
call fcn.100ac700
mov edx, eax
add esp, 0x14
mov cl, 0x20
mov eax, dword [edx + 8]
mov edx, dword [edx + 0xc]
call fcn.10124d70
mov esi, eax
mov eax, 2
mul esi
mov ecx, eax
mov eax, 0x540be400
mul esi
add ecx, edx
sub edi, eax
mov eax, ebx
mov dword [esp + 0x20], edi
sbb dword [esp + 0x1c], ecx
mov ecx, 9
mov edi, dword [esp + 0x70]
cmp ebx, ecx
cmovg eax, ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push dword [edi + 4]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
push esi
mov dword [esp + 0x34], eax
call fcn.100a9300
cmp ebx, 9
jg 0x100a0cd1
jge 0x100a0c83
mov eax, dword [esp + 0x18]
mov ecx, 0x101385e0
mov edx, dword [esp + 0x34]
shl eax, 2
sub ecx, eax
cmp edx, dword [ecx]
jae 0x100a0d64
mov esi, dword [esp + 0x20]
or esi, dword [esp + 0x1c]
je 0x100a0c61
mov esi, 1
jmp 0x100a0c63
xor esi, esi
mov ecx, dword [esp + 0x14]
movzx eax, byte [esp + 0x12]
and ecx, 1
or ecx, eax
shr edx, 0x1f
or ecx, esi
test dl, cl
jne 0x100a0d64
jmp 0x100a0dac
mov eax, dword [esp + 0x1c]
cmp eax, 1
ja 0x100a0d64
mov esi, dword [esp + 0x20]
jb 0x100a0ca2
cmp esi, 0x2a05f200
ja 0x100a0d64
cmp esi, 0x2a05f200
jne 0x100a0dac
cmp eax, 1
jne 0x100a0dac
test byte [esp + 0x14], al
jne 0x100a0d64
cmp byte [esp + 0x12], 0
jne 0x100a0d64
jmp 0x100a0dac
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x3c]
push 0x19999999
push 0x9999999a
push dword [esp + 0x24]
push esi
push eax
call fcn.100ac700
add esp, 0x14
mov ecx, dword [eax + 8]
lea eax, [ecx + ecx*4]
add eax, eax
sub esi, eax
lea eax, [ebx - 9]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 4]
add eax, 9
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.100a9300
cmp ebx, 0x12
jge 0x100a0d4f
mov eax, dword [esp + 0x18]
mov ecx, 0x101385e0
mov edx, dword [esp + 0x34]
shl eax, 2
sub ecx, eax
cmp edx, dword [ecx]
jae 0x100a0d64
mov ecx, dword [esp + 0x14]
mov eax, 1
and ecx, 1
test esi, esi
cmovne ecx, eax
movzx eax, byte [esp + 0x12]
or ecx, eax
shr edx, 0x1f
test dl, cl
jne 0x100a0d64
jmp 0x100a0dac
cmp esi, 5
ja 0x100a0d64
jne 0x100a0dac
test byte [esp + 0x14], 1
jne 0x100a0d64
cmp byte [esp + 0x12], 0
je 0x100a0dac
mov eax, dword [edi + 4]
lea ecx, [ebx - 1]
inc byte [eax + ebx - 1]
test ecx, ecx
jle 0x100a0d8b
mov eax, dword [edi + 4]
cmp byte [eax + ecx], 0x39
jle 0x100a0d8b
mov byte [eax + ecx], 0x30
mov eax, dword [edi + 4]
inc byte [eax + ecx - 1]
dec ecx
test ecx, ecx
jg 0x100a0d72
mov eax, dword [edi + 4]
cmp byte [eax], 0x39
jle 0x100a0dac
cmp byte [esp + 0x13], 0
mov byte [eax], 0x31
je 0x100a0dab
mov eax, dword [edi + 4]
mov ecx, ebx
lea ebx, [ecx + 1]
mov byte [ecx + eax], 0x30
jmp 0x100a0dac
inc ebp
cmp ebx, dword [edi + 0xc]
jbe 0x100a0db8
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax]
mov eax, dword [edi + 0xc]
cmp ebx, eax
cmovbe eax, ebx
mov dword [edi + 8], eax
jmp 0x100a0f44
movsd xmm0, qword [esp + 0x5c]
dec eax
add eax, ebp
mov dword [esp + 0x4c], 0
test byte [esp + 0x6e], 4
mov dword [esp + 0x14], eax
je 0x100a0e79
cvtpd2ps xmm0, xmm0
mov dword [esp + 0x40], 0
movss dword [esp + 0x18], xmm0
xorps xmm0, xmm0
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 0x7fffff
shr eax, 0x17
mov dword [esp + 0x3c], ecx
or ecx, 0
movlpd qword [esp + 0x44], xmm0
movzx esi, al
jne 0x100a0e5f
cmp esi, 1
jbe 0x100a0e5f
mov byte [esp + 0x12], 1
sub esp, 0x10
movlpd qword [esp + 0x3c], xmm0
mov eax, esp
mov dword [esp + 0x34], 0x800000
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x4c]
movups xmm0, xmmword [esp + 0x34]
movups xmmword [eax], xmm0
call fcn.100a9f40
lea eax, [esi - 0x96]
jmp 0x100a0ef0
mov byte [esp + 0x12], 0
test al, al
jne 0x100a0e28
mov esi, 1
mov byte [esp + 0x12], al
lea eax, [esi - 0x96]
jmp 0x100a0ef0
movsd qword [esp + 0x34], xmm0
xorps xmm0, xmm0
mov esi, dword [esp + 0x38]
mov eax, esi
mov ecx, dword [esp + 0x34]
and eax, 0xfffff
shr esi, 0x14
mov dword [esp + 0x3c], ecx
and esi, 0x7ff
or ecx, eax
mov dword [esp + 0x40], eax
movlpd qword [esp + 0x44], xmm0
jne 0x100a0f98
cmp esi, 1
jbe 0x100a0f98
mov byte [esp + 0x12], 1
sub esp, 0x10
movlpd qword [esp + 0x3c], xmm0
mov eax, esp
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0x100000
lea ecx, [esp + 0x4c]
movups xmm0, xmmword [esp + 0x34]
movups xmmword [eax], xmm0
call fcn.100a9f40
lea eax, [esi - 0x433]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x4c], eax
xor eax, eax
cmp byte [esp + 0x12], al
movups xmm0, xmmword [esp + 0x3c]
setne al
mov ecx, eax
or ecx, 4
cmp byte [esp + 0x13], 0
cmove ecx, eax
mov eax, 0x2ff
cmp ebx, eax
cmovg ebx, eax
lea eax, [esp + 0x14]
push eax
push edi
push ebx
push ecx
sub esp, 0x18
mov eax, esp
movups xmmword [eax], xmm0
movq xmm0, qword [esp + 0x74]
movq qword [eax + 0x10], xmm0
call fcn.100aa9a0
mov ebp, dword [esp + 0x3c]
add esp, 0x28
cmp byte [esp + 0x13], 0
jne 0x100a0f83
test byte [esp + 0x6e], 8
jne 0x100a0f83
mov esi, dword [edi + 8]
test esi, esi
je 0x100a0f6c
mov eax, dword [edi + 4]
dec eax
add eax, esi
nop
cmp byte [eax], 0x30
jne 0x100a0f6c
dec eax
inc ebp
sub esi, 1
jne 0x100a0f60
cmp esi, dword [edi + 0xc]
jbe 0x100a0f78
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax]
mov ecx, dword [edi + 0xc]
cmp esi, ecx
cmovbe ecx, esi
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x54]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10123fc5
add esp, 0x48
ret
mov byte [esp + 0x12], 0
test esi, esi
jne 0x100a0ebe
mov esi, 1
mov byte [esp + 0x12], 0
jmp 0x100a0eea