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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x10145040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov dword [ebp - 0x30], ebx
cmp byte [edi + 0x67], 0
je 0x1004af68
call fcn.10049ce0
mov eax, dword [0x101739b4]
mov dword [ebp - 0x28], eax
mov eax, dword [eax + 0x3e30]
mov dword [ebp - 0x24], eax
cmp byte [eax + 0x93], 0
je 0x1004af95
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10096753
mov esp, ebp
pop ebp
ret
mov edx, ebx
mov ecx, edi
call fcn.1004a800
mov esi, eax
lea ecx, [ebp - 0x58]
push 0
mov edx, ebx
mov dword [ebp - 0x20], esi
call fcn.1004b810
add esp, 4
test esi, esi
je 0x1004afcd
mov ecx, dword [edi]
xor eax, eax
test ecx, ecx
jle 0x1004afcd
mov ebx, dword [edi + 8]
cmp dword [ebx], esi
je 0x1004afcf
inc eax
add ebx, 0x28
cmp eax, ecx
jl 0x1004afc1
xor ebx, ebx
mov byte [ebp - 0x15], 0
test ebx, ebx
jne 0x1004b091
mov ecx, dword [edi]
or eax, 0xffffffff
xorps xmm0, xmm0
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x6c], ebx
mov ebx, dword [edi + 4]
movlpd qword [ebp - 0x90], xmm0
movlpd qword [ebp - 0x80], xmm0
mov dword [ebp - 0x84], 0xffffffff
mov dword [ebp - 0x88], 0xffffffff
mov dword [ebp - 0x74], 0xffffffff
mov word [ebp - 0x6e], ax
mov word [ebp - 0x70], ax
cmp ecx, ebx
jne 0x1004b042
inc ecx
test ebx, ebx
je 0x1004b030
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
add eax, ebx
jmp 0x1004b035
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10026410
mov eax, dword [edi]
movups xmm0, xmmword [ebp - 0x90]
mov byte [ebp - 0x15], 1
lea ecx, [eax + eax*4]
mov eax, dword [edi + 8]
movups xmmword [eax + ecx*8], xmm0
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [eax + ecx*8 + 0x10], xmm0
movq xmm0, qword [ebp - 0x70]
movq qword [eax + ecx*8 + 0x20], xmm0
inc dword [edi]
mov eax, dword [edi]
movss xmm0, dword [ebp - 0x58]
lea ebx, [eax + eax*4]
mov eax, dword [edi + 8]
lea ebx, [ebx - 5]
mov dword [eax + ebx*8], esi
movss dword [eax + ebx*8 + 0x14], xmm0
lea ebx, [eax + ebx*8]
mov byte [edi + 0x69], 1
jmp 0x1004b096
movss xmm0, dword [ebp - 0x58]
mov ecx, ebx
mov eax, 0x66666667
sub ecx, dword [edi + 8]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov word [edi + 0x6c], ax
movss dword [ebx + 0x18], xmm0
movzx ecx, word [edi + 0x6a]
lea eax, [ecx + 1]
mov word [edi + 0x6a], ax
mov word [ebx + 0x20], cx
mov eax, dword [edi + 0x24]
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0xc]
shr eax, 0x15
mov edx, dword [ecx + 0x3dd0]
and eax, 0xffffff01
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 8]
mov dword [ebx + 8], edx
inc eax
mov dword [ebx + 4], 0x100000
mov ecx, dword [edi + 0x84]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x30]
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebx + 0x1c], ecx
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b110
sub ecx, esi
lea esi, [edx + 1]
add esi, ecx
je 0x1004b124
sub esi, edx
jmp 0x1004b139
mov esi, edx
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x1004b130
sub esi, ecx
mov eax, dword [edi + 0x84]
lea ecx, [edi + 0x84]
test eax, eax
mov edx, 1
cmovne edx, eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x34], edx
add edx, esi
mov dword [ebp - 0x1c], edx
cmp edx, eax
jl 0x1004b174
add eax, eax
cmp edx, eax
cmovg eax, edx
push eax
call fcn.10025f00
mov edx, dword [ebp - 0x1c]
lea ecx, [edi + 0x84]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x3c], eax
cmp edx, eax
jle 0x1004b1b2
test eax, eax
je 0x1004b191
cdq
sub eax, edx
mov edx, dword [ebp - 0x1c]
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x3c]
jmp 0x1004b196
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0x84]
push eax
call fcn.10025f00
mov edx, dword [ebp - 0x1c]
lea ecx, [edi + 0x84]
mov dword [ecx], edx
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x34]
push esi
push dword [ebp - 0x30]
dec ecx
add eax, ecx
push eax
call fcn.100af6b0
mov ecx, dword [ebp - 0x34]
add esp, 0xc
mov eax, dword [edi + 0x8c]
add ecx, esi
mov edx, dword [ebp - 0x38]
mov byte [ecx + eax - 1], 0
cmp dword [ebp - 0x44], edx
jge 0x1004b201
test byte [edi + 0xc], 2
je 0x1004b201
cmp dword [edi + 0x18], 0
jne 0x1004b201
cmp dword [ebp - 0x2c], edx
jge 0x1004b1f9
cmp dword [edi + 0x14], 0
jne 0x1004b201
mov esi, dword [ebp - 0x20]
mov dword [edi + 0x18], esi
jmp 0x1004b204
mov esi, dword [ebp - 0x20]
cmp dword [edi + 0x1c], esi
lea eax, [edi + 0x14]
sete byte [ebp - 0x1c]
jne 0x1004b216
mov byte [edi + 0x68], 1
jmp 0x1004b23c
cmp dword [edi + 0x14], 0
jne 0x1004b23c
lea eax, [edi + 0x14]
cmp dword [ebp - 0x2c], edx
jge 0x1004b23c
cmp dword [edi], 1
lea eax, [edi + 0x14]
jne 0x1004b23c
test byte [edi + 0xc], 2
lea eax, [edi + 0x14]
jne 0x1004b23c
mov byte [ebp - 0x1c], 1
lea eax, [edi + 0x14]
cmp dword [ebp - 0x44], edx
jge 0x1004b278
cmp dword [ebp - 0x2c], edx
jge 0x1004b24c
cmp byte [ebp - 0x15], 0
je 0x1004b278
xorps xmm0, xmm0
lea ecx, [ebp - 0x14]
push 0x18
push 0
mov edx, esi
movups xmmword [ebp - 0x14], xmm0
call fcn.1001edb0
mov al, byte [ebp - 0x1c]
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10096753
mov esp, ebp
pop ebp
ret
cmp dword [eax], esi
jne 0x1004b288
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x3dd0]
mov dword [ebx + 0xc], eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebx + 4]
movss xmm2, dword [ebx + 0x14]
and eax, 0xc0
mov dword [ebp - 0x48], eax
movss xmm0, dword [ecx + 0xd4]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ecx + 0xd8]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebx + 0x10]
jne 0x1004b2cf
subss xmm0, dword [edi + 0x48]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x48]
cvtdq2ps xmm0, xmm0
mov esi, 4
xorps xmm1, xmm1
addss xmm0, dword [edi + 0x28]
movss dword [ebp - 0x34], xmm0
movss xmm3, dword [esi + edi + 0x28]
mov esi, dword [ebp - 0x20]
addss xmm3, xmm1
movaps xmm1, xmm0
addss xmm1, xmm2
movss dword [ebp - 0x4c], xmm3
movss dword [ecx + 0xd4], xmm0
movss dword [ecx + 0xd8], xmm3
movss xmm2, dword [ebp - 0x54]
movss xmm6, dword [0x10135f8c]
addss xmm2, xmm3
movss dword [ebp - 0x48], xmm1
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x10], xmm3
movss dword [ebp - 0xc], xmm1
movss dword [ebp - 0x54], xmm2
movss dword [ebp - 8], xmm2
test eax, eax
jne 0x1004b403
movss xmm5, dword [edi + 0x58]
comiss xmm5, xmm0
movss xmm4, dword [edi + 0x5c]
ja 0x1004b359
comiss xmm1, xmm4
jbe 0x1004b403
mov ecx, dword [0x101739b4]
maxss xmm0, xmm5
push 1
mov byte [ebp - 0x16], 1
movss dword [ebp - 0x68], xmm4
mov eax, dword [ecx + 0x3e30]
movss dword [ebp - 0x60], xmm0
movaps xmm0, xmm3
subss xmm0, xmm6
movss dword [ebp - 0x64], xmm2
mov byte [eax + 0x90], 1
lea eax, [ebp - 0x68]
mov esi, dword [ecx + 0x3e30]
push eax
lea eax, [ebp - 0x60]
movss dword [ebp - 0x5c], xmm0
push eax
mov ecx, dword [esi + 0x24c]
call fcn.1002e680
mov eax, dword [esi + 0x24c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
movss xmm0, dword [eax + ecx*8 - 0xc]
mov eax, dword [eax + ecx*8 - 0x10]
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x1f8], eax
movss dword [esi + 0x1fc], xmm0
movss dword [esi + 0x200], xmm1
movss dword [esi + 0x204], xmm2
movss xmm1, dword [ebp - 0x48]
movss xmm2, dword [ebp - 0x54]
movss xmm3, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x20]
jmp 0x1004b407
mov byte [ebp - 0x16], 0
subss xmm1, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
subss xmm2, xmm3
movss xmm0, dword [ecx + 0xec]
movss xmm7, dword [ecx + 0xf0]
lea ecx, [ebp - 0x60]
movss dword [ebp - 0x4c], xmm0
movss dword [ebp - 0x60], xmm1
movss xmm1, dword [eax + 0x37f0]
movss dword [ebp - 0x5c], xmm2
call fcn.1001ec00
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
movss xmm0, dword [ebp - 0x4c]
mov edx, esi
push 0
push 0
movss dword [eax + 0xec], xmm0
movss dword [eax + 0xf0], xmm7
call fcn.1001edb0
add esp, 8
test al, al
jne 0x1004b4aa
cmp byte [ebp - 0x16], al
je 0x1004b479
call fcn.10016eb0
mov eax, dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x2c]
movss dword [eax + 0xd4], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [eax + 0xd8], xmm0
mov al, byte [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10096753
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x28]
mov edx, 0x1010
mov eax, 0x1210
cmp byte [ecx + 0x4158], 0
lea ecx, [ebp - 0x14]
cmove eax, edx
mov edx, esi
push eax
lea eax, [ebp - 0x15]
push eax
lea eax, [ebp - 0x17]
push eax
call fcn.1003a3d0
add esp, 0xc
test al, al
je 0x1004b4de
mov dword [edi + 0x18], esi
mov ecx, dword [ebp - 0x28]
mov eax, dword [0x101739b4]
cmp dword [ecx + 0x3e68], esi
je 0x1004b512
mov edx, dword [eax + 0x3edc]
cmp dword [eax + 0x3e54], edx
jne 0x1004b503
mov byte [eax + 0x3e5c], 1
cmp dword [eax + 0x3e68], edx
jne 0x1004b512
mov byte [eax + 0x3e75], 1
cmp byte [ebp - 0x15], 0
je 0x1004b5a4
mov edx, dword [ebp - 0x38]
cmp dword [ebp - 0x44], edx
jl 0x1004b5a4
cmp byte [eax + 0xd58], 0
je 0x1004b5a4
movss xmm1, dword [eax + 0x30]
movss xmm0, dword [eax + 0x36c8]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x1004b5a4
cmp byte [ecx + 0x4158], 0
jne 0x1004b5a4
test byte [edi + 0xc], 1
je 0x1004b5a4
movss xmm1, dword [ecx + 0xac]
xorps xmm2, xmm2
comiss xmm2, xmm1
jbe 0x1004b579
movss xmm0, dword [ebp - 0x14]
comiss xmm0, dword [ecx + 0xd50]
ja 0x1004b58c
comiss xmm1, xmm2
jbe 0x1004b5a4
movss xmm0, dword [ecx + 0xd50]
comiss xmm0, dword [ebp - 0xc]
jbe 0x1004b5a4
push dword [ecx + 0xd54]
mov edx, ebx
push dword [ecx + 0xd50]
mov ecx, edi
call fcn.1004a890
add esp, 8
cmp byte [ebp - 0x15], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x24c]
mov dword [ebp - 0x38], eax
jne 0x1004b5e7
cmp byte [ebp - 0x17], 0
jne 0x1004b5e7
cmp byte [ebp - 0x1c], 0
je 0x1004b5d4
mov eax, dword [ebp - 0x50]
movzx eax, al
xor eax, 1
lea ecx, [eax*2 + 0x23]
jmp 0x1004b5ec
cmp byte [ebp - 0x50], 0
mov ecx, 0x24
mov edx, 0x21
cmovne ecx, edx
jmp 0x1004b5ec
mov ecx, 0x22
movss xmm1, dword [0x10135f8c]
call fcn.10012750
mov ecx, dword [ebp - 0x38]
lea edx, [ebp - 0x14]
push eax
push 0x100000
call fcn.1004b910
push 1
mov edx, esi
lea ecx, [ebp - 0x14]
call fcn.10013320
add esp, 0xc
mov ecx, 0x20
call fcn.10014180
test al, al
je 0x1004b64e
mov ecx, dword [0x101739b4]
movss xmm0, dword [ecx + 0x36a4]
ucomiss xmm0, dword [0x10135eb8]
lahf
test ah, 0x44
jnp 0x1004b64b
cmp byte [ecx + 0x368f], 0
je 0x1004b64e
mov dword [edi + 0x18], esi
push dword [edi + 0x78]
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x17]
push dword [edi + 0x74]
lea edx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x3d]
push eax
push dword [ebp - 0x1c]
mov eax, dword [edi + 0xc]
push 0
and eax, 8
push esi
push dword [ebp - 0x30]
or eax, 0x200000
shr eax, 1
push eax
call fcn.1004bcc0
add esp, 0x24
cmp byte [ebp - 0x16], 0
je 0x1004b68c
call fcn.10016eb0
cmp byte [ebp - 0x17], 0
mov eax, dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x2c]
movss dword [eax + 0xd4], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [eax + 0xd8], xmm0
je 0x1004b7f7
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x3e54], esi
jne 0x1004b7f7
cmp byte [ebp - 0x15], 0
jne 0x1004b7f7
movss xmm0, dword [eax + 0x3e64]
comiss xmm0, dword [eax + 0x51c4]
jbe 0x1004b7f7
mov eax, dword [0x101739b4]
cmp byte [eax + 0x4027], 0
mov ecx, dword [eax + 0x3e30]
je 0x1004b72a
cmp byte [eax + 0x4026], 0
jne 0x1004b72a
test byte [eax + 0x3ee0], 4
jne 0x1004b7f7
mov ecx, dword [eax + 0x3fec]
cmp ecx, dword [eax + 0x3edc]
jne 0x1004b7f7
test ecx, ecx
je 0x1004b7f7
jmp 0x1004b7b8
mov edx, dword [eax + 0x3ee4]
test dl, 1
je 0x1004b7f7
cmp dword [eax + 0x3e34], ecx
je 0x1004b749
test dl, dl
jns 0x1004b7f7
mov edx, dword [eax + 0x3e68]
test edx, edx
je 0x1004b76d
cmp edx, dword [eax + 0x3edc]
je 0x1004b76d
cmp byte [eax + 0x3e75], 0
jne 0x1004b76d
cmp edx, dword [ecx + 0x54]
jne 0x1004b7f7
mov edx, dword [eax + 0x3fe8]
test edx, edx
je 0x1004b79b
mov edx, dword [edx + 0x2e8]
test edx, edx
je 0x1004b79b
cmp byte [edx + 0x8f], 0
je 0x1004b79b
cmp edx, dword [ecx + 0x2e8]
je 0x1004b79b
test dword [edx + 8], 0xc000000
jne 0x1004b7f7
test byte [eax + 0x3ee0], 4
jne 0x1004b7f7
mov eax, dword [eax + 0x3edc]
cmp eax, dword [ecx + 0x54]
jne 0x1004b7b8
cmp byte [ecx + 0x90], 0
jne 0x1004b7f7
test byte [edi + 0xc], 0x20
jne 0x1004b7f7
test byte [ebx + 4], 0x10
jne 0x1004b7f7
mov eax, dword [ebp - 0x30]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x1004b7e6
nop
mov dl, byte [ecx]
test dl, dl
je 0x1004b7e6
cmp dl, 0x23
jne 0x1004b7e0
cmp byte [ecx + 1], dl
je 0x1004b7e6
inc ecx
cmp ecx, 0xffffffff
jb 0x1004b7d0
push eax
sub ecx, eax
push ecx
push str._.s
call fcn.1001fc90
add esp, 0xc
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x1c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10096753
mov esp, ebp
pop ebp
ret