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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x34], ebx
cmp dword [ebx + 0x7c], 1
jle 0x10032269
cmp dword [ebx + 0x7c], 1
lea edi, [ebx + 0x78]
mov dword [ebp - 0x30], edi
jle 0x10032269
push 0
push ebx
mov ecx, edi
call fcn.10035310
mov ecx, ebx
call fcn.10032620
xor edx, edx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], edx
cmp dword [edi + 4], edx
jle 0x10031e6c
mov eax, dword [ebx]
test eax, eax
jle 0x10031e6c
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 8]
lea eax, [eax + ecx*8]
add eax, 0xffffffd8
mov dword [ebp - 0x18], eax
je 0x10031e71
mov esi, dword [eax + 0x1c]
add esi, dword [eax + 0x18]
mov dword [ebp - 0x18], eax
jmp 0x10031e73
xor eax, eax
mov dword [ebp - 0x18], eax
xor esi, esi
mov eax, 1
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x28], eax
cmp dword [edi + 4], eax
jle 0x10032098
mov ebx, dword [ebp - 0x18]
mov ecx, 0x18
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x2c], edx
test eax, eax
js 0x10031e9e
cmp eax, dword [edi + 8]
jl 0x10031eb8
push 0x72d
push str.E:Visual_Studio_ProjectsNFSMWModMenuNFSMWModMenuimguiimgui.h
push str.i___0__i___Size
call fcn.10064e29
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov edi, dword [edi + 0x10]
add edi, ecx
mov eax, dword [edi]
mov edx, eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
test eax, eax
jle 0x10031f00
lea ecx, [eax + eax*4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
mov eax, dword [edi + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x10031f00
lea ecx, [edx + edx*4]
mov dword [ebp - 0x18], edx
cmp dword [eax + ecx*8 - 8], 0
mov dword [ebp - 4], edx
jne 0x10031efc
dec dword [edi]
mov edx, dword [edi]
mov eax, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
jmp 0x10031f03
mov eax, edx
jmp 0x10031f03
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], edx
mov ecx, eax
mov dword [ebp - 8], ecx
test edx, edx
jle 0x1003202a
mov dword [ebp - 8], ecx
test ebx, ebx
je 0x1003202d
mov eax, dword [edi + 8]
mov ecx, ebx
mov dword [ebp - 0x24], eax
mov edx, eax
mov dword [ebp - 8], 0x14
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10031f4b
add ecx, 4
add edx, 4
sub dword [ebp - 8], 4
jae 0x10031f30
mov dword [ebp - 0x20], 0
jmp 0x10031f7a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10031f72
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10031f72
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10031f72
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10031f72
mov dword [ebp - 0x20], 0
jmp 0x10031f7a
sbb eax, eax
or eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x18]
mov edx, eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
jne 0x1003202d
cmp dword [ebx + 0x20], 0
mov dword [ebp - 8], ecx
jne 0x1003202d
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], ecx
cmp dword [eax + 0x20], 0
jne 0x1003202d
mov eax, dword [eax + 0x1c]
add dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x24], ecx
add esi, dword [eax + 0x1c]
mov eax, dword [edi]
mov dword [ebp - 0xc], esi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
cmp ecx, eax
jb 0x10031fe7
push 0x745
push str.E:Visual_Studio_ProjectsNFSMWModMenuNFSMWModMenuimguiimgui.h
push 0x10094e0c
call fcn.10064e29
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov esi, dword [edi + 8]
mov eax, 0x66666667
sub ecx, esi
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
lea edx, [esi + eax*8]
mov eax, dword [edi]
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [eax*8 - 0x28]
push eax
lea eax, [edx + 0x28]
push eax
push edx
call fcn.10053180
add esp, 0xc
dec dword [edi]
mov edx, dword [edi]
mov ecx, edx
mov dword [ebp - 8], ecx
jmp 0x1003202d
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0xc]
test edx, edx
jle 0x100320b4
mov eax, dword [edi + 8]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx - 5]
xor edx, edx
lea ebx, [eax + ecx*8]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
add ecx, dword [edi + 0xc]
add dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
test eax, eax
jle 0x10032076
mov ecx, dword [edi + 8]
xor eax, eax
nop
mov dword [eax + ecx + 0x18], esi
lea eax, [eax + 0x28]
mov ecx, dword [edi + 8]
inc edx
add esi, dword [eax + ecx - 0xc]
cmp edx, dword [edi]
jl 0x10032060
mov dword [ebp - 0xc], esi
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x30]
inc eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x18
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], ecx
cmp eax, dword [edi + 4]
jl 0x10031e92
mov ebx, dword [ebp - 0x34]
mov esi, dword [ebx]
add esi, dword [ebp - 0x14]
mov eax, dword [ebx + 4]
cmp esi, eax
jle 0x100320d6
test eax, eax
je 0x100320c2
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [ebx + 4]
jmp 0x100320c7
add dword [ebp - 0x14], edx
mov edx, dword [edi + 0xc]
add edx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], edx
jmp 0x10032079
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, ebx
push eax
call fcn.1002a7f0
lea eax, [ebx + 0xc]
mov dword [ebx], esi
mov edx, dword [eax]
mov esi, dword [eax + 4]
mov dword [ebp - 0x34], edx
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x28], edx
cmp edx, esi
jle 0x1003211c
test esi, esi
je 0x10032101
mov eax, esi
cdq
sub eax, edx
mov edx, dword [ebp - 0x28]
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x10032106
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [ebx + 0xc]
push eax
call fcn.1002a6b0
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 0xc]
mov dword [eax], edx
mov eax, dword [ebx]
sub eax, dword [ebp - 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 8]
lea edx, [eax + ecx*8]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x18], edx
lea ecx, [eax + ecx*2]
mov eax, 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], eax
cmp dword [edi + 4], eax
jle 0x100321e1
mov esi, 0x18
mov dword [ebp - 0x1c], esi
test eax, eax
js 0x1003215d
cmp eax, dword [edi + 8]
jl 0x10032177
push 0x72d
push str.E:Visual_Studio_ProjectsNFSMWModMenuNFSMWModMenuimguiimgui.h
push str.i___0__i___Size
call fcn.10064e29
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov edi, dword [edi + 0x10]
add edi, esi
mov eax, dword [edi]
test eax, eax
je 0x100321a0
lea esi, [eax + eax*4]
shl esi, 3
push esi
push dword [edi + 8]
push edx
call fcn.10053180
mov edx, dword [ebp - 0x18]
add esp, 0xc
add edx, esi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov eax, dword [edi + 0xc]
test eax, eax
je 0x100321c5
lea esi, [eax + eax]
push esi
push dword [edi + 0x14]
mov edi, dword [ebp - 0x14]
push edi
call fcn.10053180
mov edx, dword [ebp - 0x18]
add esp, 0xc
add edi, esi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x28]
lea edi, [ebx + 0x78]
inc eax
add esi, 0x18
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], esi
cmp eax, dword [edi + 4]
jl 0x10032154
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebx]
mov dword [ebx + 0x38], ecx
test eax, eax
je 0x10032212
jg 0x10032203
push 0x736
push str.E:Visual_Studio_ProjectsNFSMWModMenuNFSMWModMenuimguiimgui.h
push str.Size___0
call fcn.10064e29
add esp, 0xc
mov eax, dword [ebx]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 8]
cmp dword [eax + ecx*8 - 8], 0
je 0x10032219
mov ecx, ebx
call fcn.10032550
mov eax, dword [ebx]
lea edx, [ebx + 0x60]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 8]
lea ecx, [ecx - 5]
cmp dword [eax + ecx*8 + 0x1c], 0
lea ecx, [eax + ecx*8]
jne 0x10032243
movups xmm0, xmmword [edx]
movups xmmword [ecx], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [ecx + 0x10], xmm0
jmp 0x10032262
mov esi, 0x14
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003225b
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10032248
jmp 0x10032262
mov ecx, ebx
call fcn.10032550
mov dword [edi + 4], 1
mov ecx, dword [ebx + 4]
test ecx, ecx
jns 0x10032288
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, ebx
call fcn.1002a7f0
mov dword [ebx], 0
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jns 0x100322ae
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0xc]
call fcn.1002a6b0
mov dword [ebx + 0xc], 0
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
jns 0x100322d5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0x18]
call fcn.1002a4a0
mov dword [ebx + 0x18], 0
xorps xmm0, xmm0
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + 0x28]
mov dword [ebx + 0x24], eax
movups xmmword [ebx + 0x60], xmm0
movq qword [ebx + 0x70], xmm0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov ecx, dword [ebx + 0x40]
test ecx, ecx
jns 0x10032326
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0x3c]
call fcn.1003a890
mov dword [ebx + 0x3c], 0
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
jns 0x1003234d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0x48]
call fcn.1002a160
mov dword [ebx + 0x48], 0
mov ecx, dword [ebx + 0x58]
test ecx, ecx
jns 0x10032374
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0x54]
call fcn.1002a9f0
mov dword [ebx + 0x54], 0
xorps xmm0, xmm0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 1
mov ecx, dword [ebx]
mov esi, dword [ebx + 4]
cmp ecx, esi
jne 0x100323ba
inc ecx
test esi, esi
je 0x100323a5
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x100323aa
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, ebx
call fcn.1002a7f0
xorps xmm0, xmm0
mov eax, dword [ebx]
pop edi
pop esi
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 8]
movups xmmword [eax + ecx*8], xmm0
movups xmmword [eax + ecx*8 + 0x10], xmm0
movq qword [eax + ecx*8 + 0x20], xmm0
inc dword [ebx]
mov dword [ebx + 0x8c], 0x3f800000
pop ebx
mov esp, ebp
pop ebp
ret