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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x100a1068]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x2c], edx
push edi
mov edi, dword [0x100a3324]
mov dword [ebp - 0x28], edi
cmp byte [esi + 0x67], 0
je 0x1004f74a
movups xmm0, xmmword [edi + 0x46b8]
movaps xmmword [ebp - 0x90], xmm0
movq xmm0, qword [edi + 0x46c8]
movq qword [ebp - 0x50], xmm0
call fcn.1004dd20
movaps xmm0, xmmword [ebp - 0x90]
mov edx, dword [ebp - 0x2c]
movups xmmword [edi + 0x46b8], xmm0
movq xmm0, qword [ebp - 0x50]
movq qword [edi + 0x46c8], xmm0
mov eax, dword [edi + 0x3e58]
mov dword [ebp - 0x20], eax
cmp byte [eax + 0xaf], 0
je 0x1004f771
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10052338
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push ecx
mov ecx, esi
call fcn.1004ed00
add esp, 4
mov dword [ebp - 0x24], eax
mov edx, eax
mov ecx, esi
call fcn.1004ede0
mov edi, eax
mov byte [ebp - 0x15], 0
test edi, edi
jne 0x1004f878
mov edi, dword [esi + 4]
xorps xmm0, xmm0
mov ecx, dword [esi]
mov dword [ebp - 0xc8], eax
or eax, 0xffffffff
movlpd qword [ebp - 0xe0], xmm0
movlpd qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xd4], 0xffffffff
mov dword [ebp - 0xd8], 0xffffffff
mov dword [ebp - 0xc4], 0xbf800000
mov dword [ebp - 0xc0], 0xffffffff
mov word [ebp - 0xba], ax
mov word [ebp - 0xbc], ax
cmp ecx, edi
jne 0x1004f813
inc ecx
test edi, edi
je 0x1004f801
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1004f806
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10050c30
imul eax, dword [esi], 0x2c
movups xmm0, xmmword [ebp - 0xe0]
add eax, dword [esi + 8]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xd0]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [ebp - 0xc0]
movq qword [eax + 0x20], xmm0
mov dword [eax + 0x28], 0
inc dword [esi]
cmp dword [esi], 0
jg 0x1004f860
push 0x736
push str.E:Visual_Studio_ProjectsNFSMWModMenuNFSMWModMenuimguiimgui.h
push str.Size___0
call fcn.10065b09
add esp, 0xc
imul ecx, dword [esi], 0x2c
mov edi, dword [esi + 8]
mov byte [ebp - 0x15], 1
add ecx, 0xffffffd4
add edi, ecx
mov ecx, dword [ebp - 0x24]
mov dword [edi], ecx
mov byte [esi + 0x69], 1
mov ecx, dword [esi + 8]
cmp edi, ecx
jb 0x1004f888
imul eax, dword [esi], 0x2c
add eax, ecx
cmp edi, eax
jb 0x1004f89f
push 0x74e
push str.E:Visual_Studio_ProjectsNFSMWModMenuNFSMWModMenuimguiimgui.h
push 0x10095f24
call fcn.10065b09
add esp, 0xc
mov ecx, edi
mov eax, 0x2e8ba2e9
sub ecx, dword [esi + 8]
imul ecx
push 0
sar edx, 3
lea ecx, [ebp - 0x98]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x2c]
mov word [esi + 0x6c], ax
call fcn.10050080
mov edx, dword [ebp - 0x28]
add esp, 4
mov dword [edi + 0x1c], 0xbf800000
test byte [edx + 0x46b8], 1
je 0x1004f8ee
movss xmm1, dword [edx + 0x46c0]
movss dword [edi + 0x1c], xmm1
jmp 0x1004f8f6
movss xmm1, dword [ebp - 0x98]
cmp byte [ebp - 0x15], 0
movss xmm0, dword [0x1009902c]
je 0x1004f90d
maxss xmm0, xmm1
movss dword [edi + 0x14], xmm0
movss dword [edi + 0x18], xmm1
movzx ecx, word [esi + 0x6a]
lea eax, [ecx + 1]
mov word [esi + 0x6a], ax
mov word [edi + 0x24], cx
mov eax, dword [esi + 0x24]
mov ecx, dword [edx + 0x3dd8]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xc]
shr eax, 0x15
and eax, 0xffffff01
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x60], eax
mov eax, dword [edi + 8]
mov dword [edi + 8], ecx
inc eax
mov dword [edi + 4], 0x100000
mov ecx, dword [esi + 0x84]
mov dword [ebp - 0x58], eax
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [edi + 0x20], ecx
mov ecx, dword [ebp - 0x2c]
mov edx, ecx
lea eax, [edx + 1]
mov dword [ebp - 0x30], eax
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1004f970
sub edx, dword [ebp - 0x30]
lea eax, [ecx + 1]
add eax, edx
push eax
push ecx
lea ecx, [esi + 0x84]
call fcn.1000ff90
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x58], eax
jge 0x1004f9b0
test byte [esi + 0xc], 2
je 0x1004f9b0
cmp dword [esi + 0x18], 0
jne 0x1004f9b0
cmp dword [ebp - 0x1c], eax
jge 0x1004f9ab
cmp dword [esi + 0x14], 0
jne 0x1004f9b0
mov eax, dword [edi]
mov dword [esi + 0x18], eax
mov edx, dword [ebp - 0x24]
cmp dword [esi + 0x1c], edx
sete cl
mov dword [ebp - 0x34], ecx
mov byte [ebp - 0x64], cl
jne 0x1004f9c5
mov byte [esi + 0x68], 1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], 1
test cl, cl
jne 0x1004f9f4
cmp dword [esi + 0x14], 0
jne 0x1004f9f4
cmp eax, dword [ebp - 0x3c]
jge 0x1004f9f4
cmp dword [esi], 1
jne 0x1004f9f4
test byte [esi + 0xc], 2
movzx ecx, cl
cmove ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov byte [ebp - 0x64], cl
mov ecx, dword [ebp - 0x3c]
cmp dword [ebp - 0x58], ecx
jge 0x1004fa27
cmp eax, ecx
jge 0x1004fa06
cmp byte [ebp - 0x15], 0
je 0x1004fa27
xorps xmm0, xmm0
lea ecx, [ebp - 0x90]
push 8
push 0
movups xmmword [ebp - 0x90], xmm0
call fcn.10021e40
add esp, 8
jmp 0x10050067
cmp dword [esi + 0x14], edx
jne 0x1004fa38
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 0x3dd8]
mov dword [edi + 0xc], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [edi + 4]
movss xmm3, dword [edi + 0x14]
and eax, 0xc0
movss xmm1, dword [edi + 0x10]
movss xmm0, dword [ecx + 0xf0]
movss dword [ebp - 0x68], xmm0
movss xmm0, dword [ecx + 0xf4]
movss dword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], eax
jne 0x1004fa7c
subss xmm1, dword [esi + 0x48]
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cmp dword [ebp - 0x1c], 0
mov eax, 4
addss xmm1, dword [esi + 0x28]
xorps xmm0, xmm0
movss dword [ebp - 0x38], xmm1
movaps xmm2, xmm1
movss xmm5, dword [esi + eax + 0x28]
addss xmm2, xmm3
addss xmm5, xmm0
movss dword [ecx + 0xf0], xmm1
movss dword [ebp - 0x14], xmm1
movss dword [ebp - 0x9c], xmm2
movaps xmm4, xmm5
movss dword [ebp - 0x4c], xmm5
addss xmm4, dword [ebp - 0x94]
movss dword [ecx + 0xf4], xmm5
movss dword [ebp - 0x10], xmm5
movss dword [ebp - 0xc], xmm2
movss dword [ebp - 0x94], xmm4
movss dword [ebp - 8], xmm4
jne 0x1004fcac
movss xmm3, dword [esi + 0x58]
comiss xmm3, xmm1
ja 0x1004fb01
comiss xmm2, dword [esi + 0x5c]
jbe 0x1004fcac
mov ecx, dword [0x100a3324]
maxss xmm1, xmm3
movss xmm2, dword [esi + 0x5c]
movaps xmm0, xmm5
subss xmm0, dword [0x1009902c]
movaps xmm5, xmm4
mov byte [ebp - 0x15], 1
mov eax, dword [ecx + 0x3e58]
movss dword [ebp - 0x80], xmm1
movss dword [ebp - 0x78], xmm2
movss dword [ebp - 0x7c], xmm0
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e58]
mov dword [ebp - 0x1c], eax
movss dword [ebp - 0x74], xmm5
mov eax, dword [eax + 0x264]
mov dword [ebp - 0x5c], eax
movups xmm3, xmmword [eax + 0x60]
comiss xmm3, xmm1
movaps xmmword [ebp - 0x90], xmm3
jbe 0x1004fb6d
movaps xmm1, xmm3
movss dword [ebp - 0x80], xmm1
movss xmm3, dword [ebp - 0x8c]
comiss xmm3, xmm0
jbe 0x1004fb82
movaps xmm0, xmm3
movss dword [ebp - 0x7c], xmm0
movss xmm3, dword [ebp - 0x88]
comiss xmm2, xmm3
jbe 0x1004fb97
movaps xmm2, xmm3
movss dword [ebp - 0x78], xmm2
movss xmm3, dword [ebp - 0x84]
comiss xmm4, xmm3
jbe 0x1004fbac
movaps xmm5, xmm3
movss dword [ebp - 0x74], xmm5
comiss xmm1, xmm2
jb 0x1004fbb6
movss dword [ebp - 0x78], xmm1
comiss xmm0, xmm5
jb 0x1004fbc0
movss dword [ebp - 0x74], xmm0
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
mov dword [ebp - 0xa8], ecx
cmp edx, eax
jne 0x1004fc04
inc edx
mov dword [ebp - 0xa4], edx
test eax, eax
je 0x1004fbee
cdq
sub eax, edx
mov edx, dword [ebp - 0xa4]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1004fbf3
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1003b590
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movaps xmm0, xmmword [ebp - 0x80]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [ebp - 0x5c]
movups xmmword [ecx + 0x60], xmm0
call fcn.10033370
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x264]
add eax, 0x3c
mov dword [ebp - 0x5c], eax
cmp dword [eax], 0
jg 0x1004fc4f
push 0x736
push str.E:Visual_Studio_ProjectsNFSMWModMenuNFSMWModMenuimguiimgui.h
push str.Size___0
call fcn.10065b09
mov eax, dword [ebp - 0x5c]
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [eax + 8]
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 - 0x1c]
mov dword [ecx + 0x210], eax
movss dword [ecx + 0x214], xmm0
movss dword [ecx + 0x218], xmm1
movss dword [ecx + 0x21c], xmm2
movss xmm1, dword [ebp - 0x38]
movss xmm4, dword [ebp - 0x94]
movss xmm2, dword [ebp - 0x9c]
movss xmm5, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x20]
jmp 0x1004fcb0
mov byte [ebp - 0x15], 0
mov eax, dword [ebp - 0x28]
subss xmm2, xmm1
movss xmm0, dword [ecx + 0x108]
subss xmm4, xmm5
movss xmm7, dword [ecx + 0x10c]
lea ecx, [ebp - 0xa0]
movss dword [ebp - 0x4c], xmm0
movss xmm1, dword [eax + 0x37c0]
movss dword [ebp - 0xa0], xmm2
movss dword [ebp - 0x9c], xmm4
call fcn.10021c90
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
movss xmm0, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x24]
push 0
push 0
movss dword [eax + 0x108], xmm0
movss dword [eax + 0x10c], xmm7
call fcn.10021e40
add esp, 8
test al, al
jne 0x1004fd4d
cmp byte [ebp - 0x15], al
je 0x1004fd2b
call fcn.100162e0
mov eax, dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x68]
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [ebp - 0x30]
movss dword [eax + 0xf4], xmm0
jmp 0x10050067
mov ecx, dword [ebp - 0x28]
mov edx, 0x1010
mov eax, 0x1210
cmp byte [ecx + 0x4974], 0
lea ecx, [ebp - 0x14]
cmove eax, edx
mov edx, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x16]
push eax
lea eax, [ebp - 0x17]
push eax
call fcn.100403f0
add esp, 0xc
test al, al
je 0x1004fd84
mov eax, dword [edi]
mov dword [esi + 0x18], eax
cmp byte [ebp - 0x16], 0
je 0x1004fe1e
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x3c]
jl 0x1004fe1e
mov eax, dword [0x100a3324]
cmp byte [eax + 0xdc0], 0
je 0x1004fe1e
movss xmm1, dword [eax + 0x58]
movss xmm0, dword [eax + 0x3750]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x1004fe1e
mov eax, dword [ebp - 0x28]
cmp byte [eax + 0x4974], 0
jne 0x1004fe1e
test byte [esi + 0xc], 1
xorps xmm1, xmm1
je 0x1004fe21
movss xmm2, dword [eax + 0xb0]
comiss xmm1, xmm2
jbe 0x1004fdf3
movss xmm0, dword [ebp - 0x14]
comiss xmm0, dword [eax + 0xdb8]
ja 0x1004fe06
comiss xmm2, xmm1
jbe 0x1004fe21
movss xmm0, dword [eax + 0xdb8]
comiss xmm0, dword [ebp - 0xc]
jbe 0x1004fe21
push dword [eax + 0xdbc]
mov edx, edi
mov ecx, esi
push dword [eax + 0xdb8]
call fcn.1004ee70
add esp, 8
xorps xmm1, xmm1
cmp byte [ebp - 0x16], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x264]
mov dword [ebp - 0x38], eax
jne 0x1004fe64
cmp byte [ebp - 0x17], 0
jne 0x1004fe64
cmp byte [ebp - 0x34], 0
je 0x1004fe51
mov eax, dword [ebp - 0x60]
movzx eax, al
xor eax, 1
lea ecx, [eax*2 + 0x23]
jmp 0x1004fe69
cmp byte [ebp - 0x60], 0
mov ecx, 0x24
mov edx, 0x21
cmovne ecx, edx
jmp 0x1004fe69
mov ecx, 0x22
mov eax, dword [0x100a3324]
add ecx, ecx
movss xmm6, dword [0x1009902c]
movups xmm3, xmmword [eax + ecx*8 + 0x385c]
comiss xmm1, xmm3
movaps xmm2, xmm3
movaps xmmword [ebp - 0x90], xmm3
shufps xmm2, xmm3, 0xff
mulss xmm2, dword [eax + 0x3780]
jbe 0x1004fea0
xorps xmm0, xmm0
jmp 0x1004fea7
movaps xmm0, xmm6
minss xmm0, xmm3
movss xmm3, dword [0x100990d8]
movss xmm4, dword [0x10098ff0]
movss xmm5, dword [ebp - 0x8c]
comiss xmm1, xmm5
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x1004fed5
xorps xmm0, xmm0
jmp 0x1004fedc
movaps xmm0, xmm6
minss xmm0, xmm5
movss xmm5, dword [ebp - 0x88]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm5
jbe 0x1004feff
xorps xmm0, xmm0
jmp 0x1004ff06
movaps xmm0, xmm6
minss xmm0, xmm5
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm2
ja 0x1004ff23
minss xmm6, xmm2
movaps xmm1, xmm6
mulss xmm1, xmm3
lea edx, [ebp - 0x14]
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebp - 0x38]
push eax
push 0x100000
call fcn.10050190
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
push 1
call fcn.10011840
add esp, 0xc
mov ecx, 0x20
call fcn.10013e70
test al, al
je 0x1004ff99
xor edx, edx
push 0
lea ecx, [edx + 1]
call fcn.1001f800
add esp, 4
test al, al
jne 0x1004ff94
mov ecx, dword [0x100a3324]
cmp byte [ecx + 0x3717], al
je 0x1004ff99
mov edx, 0x282
call fcn.1000e980
cmp byte [eax + 8], 0
jne 0x1004ff99
mov eax, dword [edi]
mov dword [esi + 0x18], eax
movss xmm0, dword [esi + 0x74]
lea eax, [ebp - 0x17]
mov ecx, dword [ebp - 0x38]
lea edx, [ebp - 0x14]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [esi + 0x78]
movss dword [ebp - 0x4c], xmm0
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push eax
lea eax, [ebp - 0x51]
push eax
push dword [ebp - 0x64]
mov eax, dword [esi + 0xc]
push 0
push dword [ebp - 0x24]
and eax, 8
push dword [ebp - 0x2c]
or eax, 0x200000
shr eax, 1
push eax
call fcn.100506d0
add esp, 0x24
cmp byte [ebp - 0x15], 0
je 0x1004ffed
call fcn.100162e0
cmp byte [ebp - 0x17], 0
mov eax, dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x68]
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [ebp - 0x30]
movss dword [eax + 0xf4], xmm0
je 0x10050067
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
cmp dword [eax + 0x3e90], ecx
jne 0x10050067
cmp byte [ebp - 0x16], 0
jne 0x10050067
test byte [esi + 0xc], 0x20
jne 0x10050067
test byte [edi + 4], 0x10
jne 0x10050067
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x10050056
nop word [eax + eax]
mov dl, byte [ecx]
test dl, dl
je 0x10050056
cmp dl, 0x23
jne 0x10050050
cmp byte [ecx + 1], dl
je 0x10050056
inc ecx
cmp ecx, 0xffffffff
jb 0x10050040
push eax
sub ecx, eax
push ecx
push str._.s
call fcn.10023170
add esp, 0xc
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x34]
xor ecx, ebp
pop edi
pop esi
call fcn.10052338
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret