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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x3b4
mov eax, dword [0x102e5cc0]
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 [0x102a0c54]
cmova esi, dword [0x102a0c58]
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 0x10148658
cmp ebx, 4
jb 0x10148658
mov edi, dword [ebp + 0x18]
or ebx, 0xffffffff
jmp 0x10148690
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 [0x102a0c80]
add ebx, dword [0x102a0c7c]
add ebx, dword [0x102a0c78]
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 0x10148d58
add edx, 0xfffffffc
cmp edi, 0x1c
jae 0x101486ee
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 0x101486e4
mov eax, dword [esi + 0x272c]
call eax
jmp 0x10148727
mov eax, dword [esi + 0x2730]
call eax
jmp 0x10148727
cmp edi, 0x20
ja 0x10148715
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 0x10148727
lea eax, [esp + 0x2a4]
push eax
push edx
lea eax, [ecx + 0x20]
push eax
call fcn.1014dd10
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 0x1014884d
movss xmm0, dword [esp + 0x2a8]
ucomiss xmm0, dword [0x102d2b94]
lahf
test ah, 0x44
jp 0x1014884d
mov ecx, dword [esp + 0x1c]
mov eax, 1
mov ecx, dword [ecx]
cmp edi, 0x20
ja 0x1014879a
cmp ecx, eax
jbe 0x1014881e
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 0x10148845
inc eax
cmp eax, ecx
jb 0x10148780
jmp 0x10148823
cmp ecx, 1
jbe 0x1014881e
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 0x10148845
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 0x10148845
inc eax
cmp eax, ecx
jb 0x101487a5
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 [0x102a0c80]
add eax, dword [0x102a0c7c]
add eax, dword [0x102a0c78]
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 0x10148d58
cmp edi, 0x20
ja 0x101487ce
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 0x101487f0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
cmp dword [ecx + 0x2768], 0
je 0x1014886e
mov eax, dword [edx]
cmp dword [eax + 0x22c], 0
jne 0x10148acd
cmp ebx, 0xffffffff
jne 0x10148acd
mov eax, dword [edx]
cmp dword [eax + 0x238], 0
je 0x10148880
xor esi, esi
lea ecx, [esi + 4]
jmp 0x10148882
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 0x10148acd
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 + 0x101f36b0]
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 0x10148aae
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 0x10148985
push dword [esp + 0x3c]
call fcn.1014ea50
jmp 0x1014899e
cmp edx, 0x20
ja 0x10148995
push dword [esp + 0x3c]
call fcn.1014ea50
jmp 0x1014899e
push dword [esp + 0x40]
call fcn.1014ee40
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.10146c50
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 0x10148a29
xor edi, edi
test esi, esi
je 0x10148a53
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 0x10148a15
jmp 0x10148a4b
xor edx, edx
test esi, esi
je 0x10148a56
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 0x10148a36
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 [0x102a0c80]
add ecx, dword [0x102a0c7c]
add ecx, dword [0x102a0c78]
mov edx, dword [esp + 0x50]
mov eax, ecx
not eax
cmp edx, eax
jae 0x10148a82
add ecx, edx
jmp 0x10148a85
or ecx, 0xffffffff
movss xmm1, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
cmp ecx, ebx
jae 0x10148aa6
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 0x101488f0
mov esi, dword [esp + 0x14]
mov edx, dword [esi]
mov ecx, dword [edx + 0x22c]
test ecx, ecx
je 0x10148d4c
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 0x10148d52
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], 0
cmp dword [edx + 0x28], 0
jbe 0x10148d52
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.101466b0
add esp, 0x20
test eax, eax
je 0x10148d36
mov eax, dword [esi]
cmp dword [eax + 0x238], 0
je 0x10148b7c
mov eax, dword [esp + 0x28]
mov ebx, 1
jmp 0x10148b86
mov ebx, dword [esp + 0x40]
mov eax, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ebx
cmp ebx, eax
ja 0x10148d32
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 + 0x101f36b0]
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.10150c40
fstp qword [esp + 0x5c]
movsd xmm0, qword [esp + 0x5c]
add esp, 0xc
comisd xmm0, xmmword [esp + 0x70]
jae 0x10148d0c
mov eax, dword [esp + 0x14]
mov edi, dword [eax]
cmp dword [edi + 0x234], 0
je 0x10148c61
mov edx, dword [ebp + 0x18]
mov ecx, 5
cmp edx, 0x11
ja 0x10148c49
bsr eax, ebx
mov esi, 0x20
mov ecx, esi
sub ecx, eax
sub ecx, edx
cmp ecx, 0xf
jae 0x10148c2f
bsr eax, ebx
mov ecx, esi
sub ecx, eax
sub ecx, edx
jmp 0x10148c34
mov ecx, 0xf
mov eax, dword [esp + 0x14]
mov edi, 5
cmp ecx, edi
cmova edi, ecx
mov ecx, 5
jmp 0x10148c4e
mov edi, 0xf
mov esi, 5
cmp ecx, edi
ja 0x10148d0c
mov ecx, dword [esp + 0x24]
jmp 0x10148c74
mov edi, dword [edi + 0x230]
mov esi, edi
mov ecx, dword [esp + 0x24]
jmp 0x10148c74
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.10146930
add esp, 0x44
test eax, eax
je 0x10148cfb
cmp eax, dword [esp + 0x2c]
jae 0x10148cfb
mov ecx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
jmp 0x10148cff
mov ecx, dword [esp + 0x24]
inc esi
cmp esi, edi
jbe 0x10148c70
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 0x10148bc2
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 0x10148b30
mov eax, dword [esp + 0x1c]
jmp 0x10148d54
mov eax, ebx
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
cmp edx, 0xffffffff
jne 0x10148da0
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 [0x102a0c80]
add edx, dword [0x102a0c7c]
add edx, dword [0x102a0c78]
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.1010d06f
mov esp, ebp
pop ebp
ret