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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x150
mov eax, dword [0x1029f900]
xor eax, ebp
mov dword [esp + 0x148], eax
cmp dword [ebp + 8], 0
je 0x1004be1e
mov eax, dword [0x1029fb9c]
mov eax, dword [eax]
cmp dword [eax], 0
je 0x1004be1e
mov eax, dword [0x1029fbe0]
mov ecx, dword [eax + 0x4f4]
mov dword [esp + 8], ecx
mov ecx, dword [eax + 0x4fc]
mov dword [esp + 0x34], ecx
vmovss xmm0, dword [eax + 0x548]
vmovss dword [esp + 0x44], xmm0
vmovss xmm0, dword [eax + 0x54c]
vmovss dword [esp + 0x40], xmm0
vmovss xmm0, dword [eax + 0x550]
vmovss dword [esp + 0x3c], xmm0
vmovss xmm0, dword [eax + 0x554]
vmovss dword [esp + 0x38], xmm0
vmovss xmm0, dword [eax + 0x558]
vmovss dword [esp + 0x30], xmm0
vmovss xmm0, dword [eax + 0x55c]
vmovss dword [esp + 0x2c], xmm0
vmovss xmm0, dword [eax + 0x560]
vmovss dword [esp + 0x28], xmm0
vmovss xmm0, dword [eax + 0x564]
vmovss dword [esp + 0x24], xmm0
mov ecx, 0xc34a81f
mov edx, 0xc837ba0a
mov esi, dword [eax + 0x500]
mov dword [esp + 0x5c], esi
mov esi, dword [eax + 0x504]
mov dword [esp + 0x48], esi
vmovss xmm0, dword [eax + 0x568]
vmovss dword [esp + 0x58], xmm0
vmovss xmm0, dword [eax + 0x56c]
vmovss dword [esp + 0x54], xmm0
vmovss xmm0, dword [eax + 0x570]
vmovss dword [esp + 0x50], xmm0
vmovss xmm0, dword [eax + 0x574]
vmovss dword [esp + 0x4c], xmm0
mov dword [esp + 0x114], edx
mov dword [esp + 0x110], ecx
mov edi, 0x95e64950
mov ebx, 0x96348573
mov esi, 0xc34a867
mov edx, 0xc837ba0a
mov dword [esp], edx
lea ecx, [esp + 0x130]
xor eax, eax
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x118], edi
mov dword [esp + 0x134], edx
mov dword [esp + 0x130], esi
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x138], edi
vmovaps xmm0, xmmword [esp + 0x110]
vxorps xmm0, xmm0, xmmword [ecx]
vmovaps xmmword [esp + 0x110], xmm0
mov dword [esp + 4], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
lea edx, [esp + 0x110]
push 0
push edx
call dword [eax + 0x20]
fstp xword [esp + 0x18]
mov eax, 0xc34a81e
mov ecx, 0xc837ba0a
mov dword [esp + 0x104], ecx
mov dword [esp + 0x100], eax
xor eax, eax
lea ecx, [esp + 0x130]
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x108], edi
mov eax, dword [esp]
mov dword [esp + 0x134], eax
mov dword [esp + 0x130], esi
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x138], edi
vmovaps xmm0, xmmword [esp + 0x100]
vxorps xmm0, xmm0, xmmword [ecx]
vmovaps xmmword [esp + 0x100], xmm0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
lea edx, [esp + 0x100]
push 0
push edx
call dword [eax + 0x20]
fstp xword [esp + 0xc]
mov eax, 0xc34a81d
mov ecx, 0xc837ba0a
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf0], eax
xor eax, eax
lea ecx, [esp + 0x130]
mov dword [esp + 0xfc], ebx
mov dword [esp + 0xf8], edi
mov eax, dword [esp]
mov dword [esp + 0x134], eax
mov dword [esp + 0x130], esi
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x138], edi
vmovaps xmm0, xmmword [esp + 0xf0]
vxorps xmm0, xmm0, xmmword [ecx]
vmovaps xmmword [esp + 0xf0], xmm0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
lea edx, [esp + 0xf0]
push 0
push edx
call dword [eax + 0x20]
fld xword [esp + 0x18]
fstp dword [esp + 0x124]
fld xword [esp + 0xc]
fstp dword [esp + 0x128]
fstp dword [esp + 0x12c]
mov eax, 0x7e51db12
mov ecx, 0xc837de63
mov dword [esp + 0x114], ecx
mov dword [esp + 0x110], eax
mov eax, dword [esp]
mov dword [esp + 0x134], eax
mov dword [esp + 0x130], esi
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x118], edi
mov dword [esp + 0x138], edi
lea eax, [esp + 0x130]
mov ecx, dword [esp + 4]
mov edi, dword [0x1029fc38]
vmovaps xmm0, xmmword [esp + 0x110]
vxorps xmm0, xmm0, xmmword [eax]
vmovaps xmmword [esp + 0x110], xmm0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push 0
lea edx, [esp + 0x114]
push edx
call dword [eax + 0x18]
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx + 0x24]
test eax, eax
je 0x1004be1e
mov ecx, dword [0x1029fc3c]
mov edx, dword [ecx]
push eax
call dword [edx + 0xc]
test eax, eax
je 0x1004be1e
mov esi, eax
mov edi, eax
add edi, 8
je 0x1004be1e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
test al, al
jne 0x1004be1e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x260]
test al, al
je 0x1004be1e
mov eax, dword [0x1029fb9c]
mov ecx, dword [eax]
mov ebx, dword [ecx]
cmp esi, ebx
je 0x1004bc68
mov ecx, dword [eax + 0x284]
mov eax, dword [ecx]
call dword [eax + 0x34]
test ebx, ebx
je 0x1004ba91
test eax, eax
jne 0x1004ba91
cmp esi, 0xfffffff8
je 0x1004ba91
mov ecx, ebx
add ecx, 8
je 0x1004ba91
mov eax, dword [ebx + 8]
call dword [eax + 0x28]
mov dword [esp], eax
mov ecx, dword [0x1029fc38]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edx, dword [0x1029fb9c]
cmp dword [esp], eax
jne 0x1004b936
mov eax, dword [edx + 0x184]
cmp byte [eax + ebx], 0
jne 0x1004b903
mov eax, dword [edx + 0x1c]
cmp dword [eax + ebx], 0
jg 0x1004b936
mov ecx, dword [0x1029fc3c]
mov eax, dword [edx + 0x18c]
mov edx, dword [ecx]
push dword [eax + ebx]
call dword [edx + 0x10]
mov edx, dword [0x1029fb9c]
cmp eax, 0xdddddddd
je 0x1004b936
mov ecx, dword [edx + 0x188]
mov ecx, dword [ecx + ebx]
and ecx, 0xfffffffe
cmp ecx, 4
cmove ebx, eax
mov eax, dword [edx + 0x20]
mov ecx, dword [eax + esi]
cmp ecx, dword [eax + ebx]
jne 0x1004ba91
mov eax, dword [edx]
cmp esi, dword [eax]
je 0x1004ba91
mov eax, dword [esp + 8]
and eax, 2
je 0x1004ba91
vmovss xmm0, dword [0x10147544]
vmulss xmm1, xmm0, dword [esp + 0x24]
vcvttss2si ebx, xmm1
vmulss xmm1, xmm0, dword [esp + 0x28]
vcvttss2si eax, xmm1
mov dword [esp + 0x18], eax
vmulss xmm1, xmm0, dword [esp + 0x2c]
vcvttss2si eax, xmm1
mov dword [esp + 4], eax
mov eax, dword [0x1029fbe0]
mov dword [esp], eax
mov eax, dword [0x1029fbac]
bswap eax
mov edx, dword [0x1029fbb0]
add edx, eax
vmulss xmm0, xmm0, dword [esp + 0x30]
mov ecx, dword [0x1029fbb4]
ror edx, cl
vmovss xmm1, dword [edx]
vcvttss2si eax, xmm0
mov dword [esp + 0xc], eax
vmovss dword [esp + 0x90], xmm1
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x9c], 0
lea eax, [esp + 0x94]
mov edx, dword [esi]
mov ecx, esi
push eax
call dword [edx + 0x454]
mov eax, dword [esp + 0x12c]
mov dword [esp + 0xa8], eax
shl ebx, 0x18
movzx eax, byte [esp + 0x18]
shl eax, 0x10
or eax, ebx
mov ecx, dword [esp + 4]
shl ecx, 8
movzx ecx, cx
or ecx, eax
movzx eax, byte [esp + 0xc]
or eax, ecx
vmovsd xmm0, qword [esp + 0x124]
vmovsd qword [esp + 0xa0], xmm0
mov dword [esp + 0xac], eax
mov eax, dword [esi + 8]
mov ecx, edi
call dword [eax + 0x28]
mov dword [esp + 0xb0], eax
mov eax, dword [0x1029fb9c]
mov eax, dword [eax + 0x180]
mov eax, dword [eax + esi]
mov dword [esp + 0xb4], eax
mov word [esp + 0xb8], 0
mov eax, dword [esp + 0x34]
mov dword [esp + 0xbc], eax
sub esp, 0x30
vmovups ymm0, ymmword [esp + 0xc0]
vmovups ymm1, ymmword [esp + 0xd0]
jmp 0x1004be07
mov eax, dword [0x1029fb9c]
mov ecx, dword [eax]
mov ebx, dword [ecx]
mov ecx, dword [eax + 0x284]
mov eax, dword [ecx]
call dword [eax + 0x34]
xor edx, edx
test ebx, ebx
je 0x1004bb38
test eax, eax
jne 0x1004bb38
xor edx, edx
cmp esi, 0xfffffff8
je 0x1004bb38
mov ecx, ebx
add ecx, 8
je 0x1004bb38
mov eax, dword [ebx + 8]
call dword [eax + 0x28]
mov dword [esp], eax
mov ecx, dword [0x1029fc38]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edx, dword [0x1029fb9c]
cmp dword [esp], eax
jne 0x1004bb2c
mov eax, dword [edx + 0x184]
cmp byte [eax + ebx], 0
jne 0x1004baf9
mov eax, dword [edx + 0x1c]
cmp dword [eax + ebx], 0
jg 0x1004bb2c
mov ecx, dword [0x1029fc3c]
mov eax, dword [edx + 0x18c]
mov edx, dword [ecx]
push dword [eax + ebx]
call dword [edx + 0x10]
mov edx, dword [0x1029fb9c]
cmp eax, 0xdddddddd
je 0x1004bb2c
mov ecx, dword [edx + 0x188]
mov ecx, dword [ecx + ebx]
and ecx, 0xfffffffe
cmp ecx, 4
cmove ebx, eax
mov eax, dword [edx + 0x20]
mov ecx, dword [eax + esi]
cmp ecx, dword [eax + ebx]
sete dl
test dl, dl
jne 0x1004be1e
and dword [esp + 8], 4
je 0x1004be1e
vmovss xmm0, dword [0x10147544]
vmulss xmm1, xmm0, dword [esp + 0x4c]
vcvttss2si ebx, xmm1
vmulss xmm1, xmm0, dword [esp + 0x50]
vcvttss2si eax, xmm1
mov dword [esp + 0x18], eax
vmulss xmm1, xmm0, dword [esp + 0x54]
vcvttss2si eax, xmm1
mov dword [esp + 4], eax
mov eax, dword [0x1029fbe0]
mov dword [esp], eax
mov eax, dword [0x1029fbac]
bswap eax
mov edx, dword [0x1029fbb0]
add edx, eax
vmulss xmm0, xmm0, dword [esp + 0x58]
mov ecx, dword [0x1029fbb4]
ror edx, cl
vmovss xmm1, dword [edx]
vcvttss2si eax, xmm0
mov dword [esp + 0xc], eax
vmovss dword [esp + 0x60], xmm1
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x6c], 0
lea eax, [esp + 0x64]
mov edx, dword [esi]
mov ecx, esi
push eax
call dword [edx + 0x454]
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x78], eax
shl ebx, 0x18
movzx eax, byte [esp + 0x18]
shl eax, 0x10
or eax, ebx
mov ecx, dword [esp + 4]
shl ecx, 8
movzx ecx, cx
or ecx, eax
movzx eax, byte [esp + 0xc]
or eax, ecx
vmovsd xmm0, qword [esp + 0x124]
vmovsd qword [esp + 0x70], xmm0
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 8]
mov ecx, edi
call dword [eax + 0x28]
mov dword [esp + 0x80], eax
mov eax, dword [0x1029fb9c]
mov eax, dword [eax + 0x180]
mov eax, dword [eax + esi]
mov dword [esp + 0x84], eax
mov word [esp + 0x88], 0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x8c], eax
sub esp, 0x30
vmovups ymm0, ymmword [esp + 0x90]
vmovups ymm1, ymmword [esp + 0xa0]
jmp 0x1004be07
mov edx, dword [0x1029fbe0]
lea eax, [edx + 0x7d0]
mov dword [esp], eax
mov ecx, dword [edx + 0x7d4]
cmp dword [edx + 0x7d0], ecx
je 0x1004bcb5
vmovss xmm0, dword [ecx - 0x20]
mov ecx, dword [0x1029fbac]
bswap ecx
mov ebx, dword [0x1029fbb0]
add ebx, ecx
mov ecx, dword [0x1029fbb4]
ror ebx, cl
vucomiss xmm0, dword [ebx + 0x10]
jne 0x1004bcb5
jp 0x1004bcb5
mov ecx, dword [edx + 0x7d4]
mov byte [ecx - 0x1c], 0
mov edx, 0x401c
add edx, dword [0x1029fb9c]
mov ecx, dword [0x1029fbac]
bswap ecx
mov ebx, dword [0x1029fbb0]
add ebx, ecx
mov ecx, dword [0x1029fbb4]
ror ebx, cl
add ebx, 0x10
lea eax, [esp + 0x124]
mov ecx, dword [esp]
push eax
push edx
push ebx
call fcn.1004c5a0
test byte [esp + 8], 1
je 0x1004be1e
vmovss xmm0, dword [0x10147544]
vmulss xmm1, xmm0, dword [esp + 0x38]
vcvttss2si eax, xmm1
vmulss xmm1, xmm0, dword [esp + 0x3c]
vcvttss2si edx, xmm1
mov ecx, dword [0x1029fbe0]
mov dword [esp], ecx
mov ecx, dword [0x1029fbac]
bswap ecx
mov ebx, dword [0x1029fbb0]
add ebx, ecx
mov ecx, dword [0x1029fbb4]
ror ebx, cl
vmovss xmm1, dword [ebx]
vmovss dword [esp + 0xc0], xmm1
mov ecx, dword [0x1029fb9c]
vmovsd xmm1, qword [ecx + 0x4010]
vmovsd qword [esp + 0xc4], xmm1
mov ecx, dword [ecx + 0x4018]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x12c]
mov dword [esp + 0xd8], ecx
vmulss xmm1, xmm0, dword [esp + 0x40]
shl eax, 0x18
movzx ecx, dl
shl ecx, 0x10
or ecx, eax
vcvttss2si eax, xmm1
vmulss xmm0, xmm0, dword [esp + 0x44]
shl eax, 8
movzx eax, ax
or eax, ecx
vcvttss2si ecx, xmm0
movzx ecx, cl
or ecx, eax
vmovsd xmm0, qword [esp + 0x124]
vmovsd qword [esp + 0xd0], xmm0
mov dword [esp + 0xdc], ecx
mov eax, dword [esi + 8]
mov ecx, edi
call dword [eax + 0x28]
mov dword [esp + 0xe0], eax
mov eax, dword [0x1029fb9c]
mov eax, dword [eax + 0x180]
mov eax, dword [eax + esi]
mov dword [esp + 0xe4], eax
mov word [esp + 0xe8], 0
mov eax, dword [esp + 0x48]
mov dword [esp + 0xec], eax
sub esp, 0x30
vmovups ymm0, ymmword [esp + 0xf0]
vmovups ymm1, ymmword [esp + 0x100]
vmovups ymmword [esp + 0x10], ymm1
vmovups ymmword [esp], ymm0
mov ecx, dword [esp + 0x30]
vzeroupper
call fcn.1005da50
mov ecx, dword [esp + 0x148]
xor ecx, ebp
call fcn.100e81f3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4