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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x3b4
mov eax, dword [0x1024b600]
xor eax, esp
mov dword [esp + 0x3b0], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [edx]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
cmp dword [eax + 0x1c], 0x10
mov esi, dword [0x101f4904]
cmova esi, dword [0x101f4908]
mov eax, dword [edx + 4]
mov dword [esp + 0x40], esi
xor esi, esi
push edi
mov edi, dword [ebp + 0x20]
mov dword [esp + 0x14], edx
lea edx, [esi + 0x20]
mov dword [esp + 0x1c], ebx
mov ebx, dword [ebx]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x24], esi
cmp dword [eax + 0x276c], esi
je 0x100a5ab8
cmp ebx, 4
jb 0x100a5ab8
mov edi, dword [ebp + 0x18]
or ebx, 0xffffffff
jmp 0x100a5af0
mov ecx, dword [edi]
mov edi, dword [ebp + 0x18]
cmp edx, edi
sbb eax, eax
imul ebx, edi
mov dword [ecx], 1
neg eax
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 8], eax
add ebx, dword [ecx + 0x1a8]
mov ecx, eax
add ebx, dword [0x101f4930]
add ebx, dword [0x101f492c]
add ebx, dword [0x101f4928]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [eax], ebx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
cmp edx, 4
jbe 0x100a61b8
add edx, 0xfffffffc
cmp edi, 0x1c
jae 0x100a5b4e
mov esi, dword [esp + 0x14]
mov eax, edx
shl eax, 4
add ecx, 0x10
add eax, edx
bsr eax, eax
mov esi, dword [esi + 4]
add eax, edi
cmp eax, 0x20
lea eax, [esp + 0x2a4]
push eax
push edx
push ecx
jae 0x100a5b44
mov eax, dword [esi + 0x272c]
call eax
jmp 0x100a5b87
mov eax, dword [esi + 0x2730]
call eax
jmp 0x100a5b87
cmp edi, 0x20
ja 0x100a5b75
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
lea eax, [esp + 0x2a4]
push eax
mov eax, dword [esp + 0x1c]
add eax, 0x10
push edx
push eax
mov eax, dword [ecx + 0x2734]
call eax
jmp 0x100a5b87
lea eax, [esp + 0x2a4]
push eax
push edx
lea eax, [ecx + 0x20]
push eax
call fcn.100aa8d0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov esi, eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x20], ecx
cmp dword [ecx + 0x2764], 0
jne 0x100a5cad
movss xmm0, dword [esp + 0x2a8]
ucomiss xmm0, dword [0x101e05d4]
lahf
test ah, 0x44
jp 0x100a5cad
mov ecx, dword [esp + 0x1c]
mov eax, 1
mov ecx, dword [ecx]
cmp edi, 0x20
ja 0x100a5bfa
cmp ecx, eax
jbe 0x100a5c7e
mov edx, dword [esp + 0x18]
mov edx, dword [edx]
nop dword [eax]
mov edi, dword [esp + 0x18]
cmp edx, dword [edi + eax*4]
mov edi, dword [ebp + 0x18]
jne 0x100a5ca5
inc eax
cmp eax, ecx
jb 0x100a5be0
jmp 0x100a5c83
cmp ecx, 1
jbe 0x100a5c7e
mov edi, dword [esp + 0x18]
mov edx, dword [edi]
mov edi, dword [esp + 0x18]
cmp edx, dword [edi + eax*8]
mov edi, dword [ebp + 0x18]
jne 0x100a5ca5
mov ebx, dword [esp + 0x18]
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + eax*8 + 4]
mov ebx, dword [esp + 0x2c]
mov edi, dword [ebp + 0x18]
jne 0x100a5ca5
inc eax
cmp eax, ecx
jb 0x100a5c05
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edx + 8], eax
mov eax, dword [edx + 0x1a8]
mov dword [edx], 0
mov dword [edx + 0xc], ecx
add eax, dword [0x101f4930]
add eax, dword [0x101f492c]
add eax, dword [0x101f4928]
add eax, edi
cmp eax, ebx
cmovb ebx, eax
cmp eax, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
sbb esi, esi
mov dword [esp + 0x2c], ebx
neg esi
jmp 0x100a61b8
cmp edi, 0x20
ja 0x100a5c2e
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
cdq
mov dword [ecx + 8], eax
mov eax, dword [ecx + 0x1a8]
mov dword [ecx], 0
mov dword [ecx + 0xc], edx
jmp 0x100a5c50
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
cmp dword [ecx + 0x2768], 0
je 0x100a5cce
mov eax, dword [edx]
cmp dword [eax + 0x22c], 0
jne 0x100a5f2d
cmp ebx, 0xffffffff
jne 0x100a5f2d
mov eax, dword [edx]
cmp dword [eax + 0x238], 0
je 0x100a5ce0
xor esi, esi
lea ecx, [esi + 4]
jmp 0x100a5ce2
mov ecx, esi
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
cmp ecx, eax
lea edx, [eax - 1]
cmovb edx, ecx
mov dword [esp + 0x40], edx
cmp esi, edx
ja 0x100a5f2d
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2a4]
movd xmm0, edi
mov eax, edi
shr eax, 0x1f
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x101556a0]
mov eax, esi
imul eax, edi
sub edx, ecx
mov dword [esp + 0x5c], edx
cvtpd2ps xmm1, xmm0
mov dword [esp + 0x28], eax
lea eax, [ecx + esi*8]
mov dword [esp + 0x34], eax
lea eax, [ecx + esi*4]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x30], eax
movss dword [esp + 0x38], xmm1
nop dword [eax]
mov edi, dword [esp + 0x5c]
movss xmm0, dword [edi + eax]
comiss xmm0, xmm1
mov edi, dword [ebp + 0x18]
jae 0x100a5f0e
mov edi, dword [esp + 0x14]
xor ecx, ecx
cmp dword [esp + 0x24], ecx
mov eax, 4
cmove ecx, eax
mov eax, dword [ebp + 0x24]
mov eax, dword [ecx + eax]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [ecx + eax]
mov dword [esp + 0x20], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x248]
mov eax, dword [eax + 0x23c]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0x25bc]
mov eax, dword [eax + 0x25b8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x70], edx
mov edx, dword [ebp + 0x18]
mov ecx, dword [ecx + eax]
mov eax, dword [esp + 0x1c]
push ecx
push esi
mov dword [esp + 0x6c], ecx
mov edi, dword [eax]
lea eax, [esi + edx]
sub edi, esi
push edi
cmp eax, 0x20
ja 0x100a5de5
push dword [esp + 0x3c]
call fcn.100ab610
jmp 0x100a5dfe
cmp edx, 0x20
ja 0x100a5df5
push dword [esp + 0x3c]
call fcn.100ab610
jmp 0x100a5dfe
push dword [esp + 0x40]
call fcn.100aba00
mov edx, dword [esp + 0x30]
add esp, 0x10
mov ecx, dword [esp + 0x60]
lea eax, [edx + 8]
mov dword [eax], 0
push eax
push dword [esp + 0x6c]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x74]
mov dword [edx + 0x10], ecx
push dword [ebp + 0x18]
mov ecx, dword [esp + 0x74]
push dword [ebp + 0x10]
mov dword [edx], 2
push dword [ebp + 0xc]
mov dword [edx + 0x38], ecx
push dword [esp + 0x5c]
push esi
push edi
push dword [esp + 0x94]
push dword [esp + 0x78]
push ecx
push dword [eax + 4]
call fcn.100a3f20
mov edi, dword [ebp + 0x18]
add esp, 0x34
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
mov dword [eax + 0x14], esi
cmp edi, 0x20
ja 0x100a5e89
xor edi, edi
test esi, esi
je 0x100a5eb3
mov ebx, dword [esp + 0x18]
lea ecx, [eax + 0x18]
mov eax, dword [ebx + edi*4]
lea ecx, [ecx + 8]
cdq
inc edi
mov dword [ecx - 8], eax
mov dword [ecx - 4], edx
cmp edi, esi
jb 0x100a5e75
jmp 0x100a5eab
xor edx, edx
test esi, esi
je 0x100a5eb6
mov ebx, dword [esp + 0x18]
lea edi, [eax + 0x18]
mov eax, dword [ebx + edx*8]
lea edi, [edi + 8]
mov ecx, dword [ebx + edx*8 + 4]
inc edx
mov dword [edi - 8], eax
mov dword [edi - 4], ecx
cmp edx, esi
jb 0x100a5e96
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
mov edi, dword [ebp + 0x18]
mov ecx, dword [eax + 0x1a8]
add ecx, dword [esp + 0x28]
add ecx, dword [0x101f4930]
add ecx, dword [0x101f492c]
add ecx, dword [0x101f4928]
mov edx, dword [esp + 0x50]
mov eax, ecx
not eax
cmp edx, eax
jae 0x100a5ee2
add ecx, edx
jmp 0x100a5ee5
or ecx, 0xffffffff
movss xmm1, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
cmp ecx, ebx
jae 0x100a5f06
xor eax, eax
mov ebx, ecx
cmp dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebx
sete al
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
inc esi
add eax, 4
add edx, 8
mov dword [esp + 0x30], eax
add ecx, edi
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], ecx
cmp esi, dword [esp + 0x40]
jbe 0x100a5d50
mov esi, dword [esp + 0x14]
mov edx, dword [esi]
mov ecx, dword [edx + 0x22c]
test ecx, ecx
je 0x100a61ac
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx]
cmp ecx, eax
lea esi, [eax - 1]
mov eax, esi
mov esi, dword [esp + 0x14]
cmovb eax, ecx
mov dword [esp + 0x30], eax
test eax, eax
je 0x100a61b2
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], 0
cmp dword [edx + 0x28], 0
jbe 0x100a61b2
nop dword [eax]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x30]
push edi
push eax
lea eax, [esp + 0x2c8]
push eax
push dword [ebx]
lea eax, [esp + 0x98]
push eax
push esi
call fcn.100a3800
add esp, 0x20
test eax, eax
je 0x100a6196
mov eax, dword [esi]
cmp dword [eax + 0x238], 0
je 0x100a5fdc
mov eax, dword [esp + 0x28]
mov ebx, 1
jmp 0x100a5fe6
mov ebx, dword [esp + 0x40]
mov eax, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ebx
cmp ebx, eax
ja 0x100a6192
movd xmm0, edi
lea ecx, [esp + ebx*8 + 0x2b0]
cvtdq2pd xmm0, xmm0
mov eax, edi
mov dword [esp + 0x38], ecx
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101556a0]
mov eax, ebx
shl eax, 7
mov dword [esp + 0x34], eax
movsd qword [esp + 0x70], xmm0
mov eax, dword [esp + 0x1c]
movsd xmm0, qword [ecx]
mov eax, dword [eax]
sub eax, ebx
push eax
sub esp, 8
movsd qword [esp], xmm0
call fcn.100ad2d0
fstp qword [esp + 0x5c]
movsd xmm0, qword [esp + 0x5c]
add esp, 0xc
comisd xmm0, xmmword [esp + 0x70]
jae 0x100a616c
mov eax, dword [esp + 0x14]
mov edi, dword [eax]
cmp dword [edi + 0x234], 0
je 0x100a60c1
mov edx, dword [ebp + 0x18]
mov ecx, 5
cmp edx, 0x11
ja 0x100a60a9
bsr eax, ebx
mov esi, 0x20
mov ecx, esi
sub ecx, eax
sub ecx, edx
cmp ecx, 0xf
jae 0x100a608f
bsr eax, ebx
mov ecx, esi
sub ecx, eax
sub ecx, edx
jmp 0x100a6094
mov ecx, 0xf
mov eax, dword [esp + 0x14]
mov edi, 5
cmp ecx, edi
cmova edi, ecx
mov ecx, 5
jmp 0x100a60ae
mov edi, 0xf
mov esi, 5
cmp ecx, edi
ja 0x100a616c
mov ecx, dword [esp + 0x24]
jmp 0x100a60d4
mov edi, dword [edi + 0x230]
mov esi, edi
mov ecx, dword [esp + 0x24]
jmp 0x100a60d4
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 0x24]
xor ebx, ebx
mov eax, dword [eax]
test ecx, ecx
mov ecx, dword [esp + 0x14]
sete bl
mov ecx, dword [ecx + 4]
push dword [edx + ebx*4]
mov edx, dword [esp + 0x40]
push dword [edx + ebx*4]
mov edx, dword [ebp + 0x18]
push dword [eax + 0x248]
push dword [eax + 0x23c]
mov eax, dword [esp + 0x2c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x5c]
push esi
push dword [esp + 0x40]
push edx
push dword [eax]
mov eax, dword [esp + 0x60]
add eax, 0x2860
add eax, ecx
push eax
push dword [ecx + 0x25bc]
mov eax, dword [esp + 0x7c]
push dword [ecx + 0x25b8]
push dword [eax + ebx*4]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.100a3a80
add esp, 0x44
test eax, eax
je 0x100a615b
cmp eax, dword [esp + 0x2c]
jae 0x100a615b
mov ecx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
jmp 0x100a615f
mov ecx, dword [esp + 0x24]
inc esi
cmp esi, edi
jbe 0x100a60d0
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
inc ebx
sub dword [esp + 0x34], 0xffffff80
add ecx, 8
mov dword [esp + 0x20], ebx
mov dword [esp + 0x38], ecx
cmp ebx, dword [esp + 0x28]
jbe 0x100a6022
mov edi, dword [ebp + 0x18]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi]
mov eax, dword [esp + 0x80]
cmp eax, dword [ecx + 0x28]
mov eax, dword [esp + 0x30]
jb 0x100a5f90
mov eax, dword [esp + 0x1c]
jmp 0x100a61b4
mov eax, ebx
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
cmp edx, 0xffffffff
jne 0x100a6200
mov edx, dword [eax]
mov eax, 0x20
mov ecx, dword [esp + 0x3c]
cmp eax, edi
sbb eax, eax
imul edx, edi
neg eax
mov ecx, dword [ecx + esi*4]
mov dword [ecx], 1
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 8], eax
add edx, dword [ecx + 0x1a8]
add edx, dword [0x101f4930]
add edx, dword [0x101f492c]
add edx, dword [0x101f4928]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x3bc]
pop edi
mov dword [eax], esi
mov eax, dword [esp + 0x48]
pop esi
pop ebx
xor ecx, esp
mov dword [eax], edx
mov eax, 1
call fcn.1006d7ba
mov esp, ebp
pop ebp
ret