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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x7a69a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
mov ebx, ecx
push edi
lea ecx, [esp + 0x40]
call fcn.00405f70
lea ecx, [esp + 0x50]
call fcn.00405f70
lea ecx, [esp + 0x24]
call fcn.005ff150
xor esi, esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x7c], esi
call fcn.005ff150
push str.RACE
lea ecx, [esp + 0x10]
mov byte [esp + 0x80], 1
call fcn.00630ba0
mov eax, dword [0x828508]
mov edi, dword [ebp + 0xc]
mov eax, dword [eax + 0x130]
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x24]
push ecx
movzx ecx, word [edi + 0x18]
lea edx, [esp + 0x10]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x88], 2
call fcn.0041d1f0
lea ecx, [esp + 0xc]
mov byte [esp + 0x7c], 1
call fcn.00630d30
push str.ENVMAP
lea ecx, [esp + 0x10]
call fcn.00630ba0
mov edx, dword [0x828508]
mov eax, dword [edx + 0x130]
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x1c]
push ecx
movzx ecx, word [edi + 0x18]
lea edx, [esp + 0x10]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x88], 3
call fcn.0041d1f0
lea ecx, [esp + 0xc]
mov byte [esp + 0x7c], 1
call fcn.00630d30
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x6f2e4e
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6f2e24
sub eax, edx
cmp eax, esi
jle 0x6f2e4e
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x58]
call int.004062d0
mov dword [esp + 0xc], 1
jmp 0x6f2e52
mov dword [esp + 0xc], esi
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x48]
call int.004062d0
mov ax, word [ebx + 0x18]
cmp ax, word [edi + 0x18]
jne 0x6f2ea7
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 0
call fcn.00630d30
lea ecx, [esp + 0x24]
mov dword [esp + 0x7c], 0xffffffff
call fcn.00630d30
mov eax, 1
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], esi
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
push 1
push 0xfb
mov byte [esp + 0x84], 4
call dword [edx + 0x98]
mov edi, eax
cmp edi, esi
je 0x6f2ee5
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x4c]
mov edx, dword [edi]
push esi
push esi
push esi
mov ecx, edi
call dword [edx + 0x50]
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ecx]
push 1
push 0xf7
call dword [eax + 0x98]
mov edi, eax
cmp edi, esi
je 0x6f2f0f
mov edx, dword [edi]
push esi
mov ecx, edi
call dword [edx + 0x4c]
mov eax, dword [edi]
push esi
push esi
push esi
mov ecx, edi
call dword [eax + 0x50]
mov ecx, dword [ebx + 0x3c]
call fcn.00657db0
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x11c]
mov ecx, dword [ebx + 0x3c]
mov edi, eax
mov eax, dword [ecx]
push 0xff
call dword [eax + 0x7c]
mov ecx, dword [ebx + 0x3c]
call fcn.004015a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
push eax
push 0xff
lea eax, [esp + 0x48]
push eax
call dword [edx + 0x78]
test eax, eax
jne 0x6f2f87
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], al
call fcn.00630d30
lea ecx, [esp + 0x24]
mov dword [esp + 0x7c], 0xffffffff
call fcn.00630d30
xor eax, eax
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp edi, esi
je 0x6f2f96
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x118]
cmp dword [esp + 0xc], esi
je 0x6f2fa7
lea edx, [esp + 0x50]
push edx
push 1
push 1
jmp 0x6f2fbd
push str.DEFAULT
lea ecx, [esp + 0x10]
call fcn.00406ec0
lea edx, [esp + 0xc]
push edx
push 1
push esi
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ecx]
push 0xff
call dword [eax + 0xac]
mov eax, dword [0x8284d4]
mov ecx, dword [eax + 4]
mov edi, dword [ebx + 0x3c]
call fcn.00638770
cmp eax, edi
jne 0x6f2ffa
mov edx, dword [edi]
push 1
push 0xff
mov ecx, edi
call dword [edx + 0x98]
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0x40]
mov esi, dword [ebp + 0xc]
mov ecx, 0xf
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, 1
lea ecx, [esp + 0x2c]
mov dword [ebx + 0x40], edi
mov dword [ebx + 0x44], edi
mov dword [ebx + 0x48], edi
call fcn.005ff150
push str.MODELTYPE
lea ecx, [esp + 0x10]
mov byte [esp + 0x80], 5
call fcn.00630ba0
mov eax, dword [0x828508]
mov esi, dword [ebp + 0xc]
mov eax, dword [eax + 0x130]
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x2c]
push ecx
movzx ecx, word [esi + 0x18]
lea edx, [esp + 0x10]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x88], 6
call fcn.0041d1f0
lea ecx, [esp + 0xc]
mov byte [esp + 0x7c], 5
call fcn.00630d30
lea edx, [esp + 0x2c]
push edx
mov ecx, ebx
call fcn.006f0f10
cmp al, 2
mov byte [ebp + 8], al
je 0x6f3087
cmp al, 3
jne 0x6f30bc
push 0
push 0x4c
lea ecx, [esp + 0x34]
call fcn.006310f0
cmp eax, 0xffffffff
jne 0x6f30bc
mov ecx, dword [ebx + 0x3c]
call fcn.00692d70
test eax, eax
je 0x6f30b9
mov ecx, dword [ebx + 0x3c]
call fcn.00692d70
mov edx, dword [eax]
push 0
mov ecx, eax
call dword [edx + 0x90]
push edi
jmp 0x6f30dd
mov ecx, dword [ebx + 0x3c]
call fcn.00692d70
test eax, eax
je 0x6f30db
mov ecx, dword [ebx + 0x3c]
call fcn.00692d70
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx + 0x90]
push 2
mov ecx, dword [ebx + 0x3c]
call fcn.00658be0
cmp byte [ebp + 8], 3
je 0x6f31bb
push str.RaceTex
lea ecx, [esp + 0x10]
call fcn.00630ba0
mov eax, dword [0x828508]
mov eax, dword [eax + 0x130]
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x1c]
push ecx
movzx ecx, word [esi + 0x18]
lea edx, [esp + 0x10]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x88], 7
call fcn.0041d1f0
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x7c], 5
call fcn.00630d30
test esi, esi
je 0x6f31bb
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x10]
call fcn.00406ea0
mov ecx, dword [0x8284c0]
push 0
push 3
lea eax, [esp + 0x14]
push eax
call fcn.00408e20
test eax, eax
jne 0x6f318c
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x10]
call fcn.00406ea0
mov ecx, dword [0x8284c0]
push 0
push 0xbbf
lea edx, [esp + 0x14]
push edx
call fcn.00408e20
test eax, eax
je 0x6f31bb
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x10]
call fcn.00406ea0
push 0x7b5718
lea ecx, [esp + 0x64]
call fcn.00406ec0
push edi
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [ebx + 0x3c]
lea edx, [esp + 0x68]
push edx
call fcn.00692dc0
mov ecx, dword [ebx + 0x3c]
call int.00660000
mov eax, dword [ebx + 0x3c]
push eax
push str.AppearanceForceUpdate
push 0
call fcn.0065d560
mov ecx, dword [0x8284d4]
mov ecx, dword [ecx + 4]
add esp, 0xc
call fcn.00638e70
lea ecx, [esp + 0x2c]
mov dword [ebx + 0x68], eax
mov byte [esp + 0x7c], 4
call fcn.00630d30
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 0
call fcn.00630d30
lea ecx, [esp + 0x24]
mov dword [esp + 0x7c], 0xffffffff
call fcn.00630d30
mov ecx, dword [esp + 0x74]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8