Function at 0x404fc0
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4898ba
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4c0
mov eax, dword [0x4b0040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x338], eax
xorps xmm0, xmm0
mov dword [ebp - 0x340], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2d0]
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x348], edx
call fcn.004072c0
xorps xmm0, xmm0
movups xmmword [ebp - 0x244], xmm0
movups xmmword [ebp - 0x220], xmm0
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x20c], 0xf
mov byte [ebp - 0x220], 0
call fcn.004072c0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0
xorps xmm0, xmm0
mov dword [ebp - 0xe8], 0
movups xmmword [ebp - 0xf8], xmm0
mov dword [ebp - 0xe4], 0xf
mov byte [ebp - 0xf8], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
xor edi, edi
mov byte [ebp - 4], 5
xor esi, esi
mov dword [ebp - 0x344], edi
mov dword [ebp - 0x320], esi
test edx, edx
je 0x405925
nop
push 0
push 0x4a399c
lea ecx, [ebp - 0x30]
call fcn.0040a9f0
mov eax, dword [ebp - 0x338]
mov ecx, dword [ebp - 0x33c]
mov dword [ebp - 0x18], 0
mov eax, dword [eax + 0x34]
cmp byte [eax + ecx], 0xa
je 0x4051d2
mov esi, dword [ebp - 0x338]
mov edi, ecx
mov dl, byte [eax + edi]
inc edi
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 0x3a4], dl
cmp ecx, dword [ebp - 0x1c]
jae 0x4051a0
cmp dword [ebp - 0x1c], 0xf
lea eax, [ecx + 1]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
cmova eax, dword [ebp - 0x30]
mov byte [ecx + eax], dl
mov byte [ecx + eax + 1], 0
jmp 0x4051bd
push dword [ebp - 0x3a4]
mov byte [ebp - 0x3a0], 0
lea ecx, [ebp - 0x30]
push dword [ebp - 0x3a0]
push 1
call fcn.0040ba00
mov eax, dword [esi + 0x34]
cmp byte [eax + edi], 0xa
jne 0x405173
mov dword [ebp - 0x33c], edi
mov edi, dword [ebp - 0x344]
inc dword [ebp - 0x33c]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x120], eax
lea ecx, [ebp - 0x120]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x48]
push eax
call fcn.00407390
mov byte [ebp - 4], 6
lea eax, [ebp - 0x120]
cmp dword [ebp - 0x34], 0xf
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x334], eax
mov eax, dword [ebp - 0x48]
seta byte [ebp - 0x325]
mov dword [ebp - 0x324], eax
cmova ecx, eax
mov eax, dword [ebp - 0x38]
mov edx, eax
push 1
push 0x4a3a80
mov dword [ebp - 0x32c], eax
call fcn.0040e130
add esp, 8
test al, al
je 0x40528d
cmp byte [ebp - 0x325], 0
mov byte [ebp - 4], 5
je 0x405913
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x324]
inc ecx
mov edx, eax
cmp ecx, 0x1000
jb 0x405286
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x324], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x4072b9
mov eax, dword [ebp - 0x324]
push ecx
push eax
jmp 0x40590b
cmp byte [ebp - 0x325], 0
lea ecx, [ebp - 0x48]
mov edx, dword [ebp - 0x32c]
cmovne ecx, dword [ebp - 0x324]
push 6
push str.mtllib
call fcn.0040e130
add esp, 8
test al, al
je 0x405608
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x124], 0
push 0x4a3a8c
lea ecx, [ebp - 0x134]
movups xmmword [ebp - 0x134], xmm0
call fcn.00409b90
push ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x74]
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
push 0x4a3aa0
movups xmmword [ebp - 0x74], xmm0
call fcn.00409b90
push 0x38
lea eax, [ebp - 0xd4]
push 0
push eax
call fcn.0045e8a0
xorps xmm0, xmm0
mov dword [ebp - 0xd4], 0
add esp, 0xc
mov byte [ebp - 0xd0], 0
movups xmmword [ebp - 0xcc], xmm0
mov dword [ebp - 0xbc], 0
mov byte [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov byte [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov byte [ebp - 0xa0], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0xf
mov eax, dword [ebp - 0x20]
jbe 0x40538e
mov ecx, dword [ebp - 0x30]
add eax, ecx
mov edx, ecx
jmp 0x405393
lea edx, [ebp - 0x30]
add eax, edx
push ecx
push ecx
push eax
push edx
lea edx, [ebp - 0x134]
lea ecx, [ebp - 0xd4]
call fcn.0040c9d0
add esp, 0x10
test al, al
je 0x4055c3
mov ecx, dword [ebp - 0xc8]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0xcc]
imul ecx
lea ecx, [ebp - 0xa8]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [ebp - 0x60]
cmovne ecx, dword [ebp - 0xcc]
push eax
call fcn.00409a50
or dword [ebp - 0x340], 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0xf
mov eax, dword [ebp - 0x50]
jbe 0x405405
mov ecx, dword [ebp - 0x60]
add eax, ecx
mov edx, ecx
jmp 0x40540a
lea edx, [ebp - 0x60]
add eax, edx
push ecx
push ecx
push eax
push edx
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0xd4]
call fcn.0040c9d0
mov ecx, dword [ebp - 0xc8]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0xcc]
add esp, 0x10
imul ecx
lea ecx, [ebp - 0xa8]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [ebp - 0x360]
cmovne ecx, dword [ebp - 0xcc]
push eax
call fcn.00409a50
or dword [ebp - 0x340], 1
lea eax, [ebp - 0x360]
push eax
lea ecx, [ebp - 0x60]
call fcn.0040a510
mov ecx, dword [ebp - 0x34c]
cmp ecx, 0xf
jbe 0x4054a4
mov edx, dword [ebp - 0x360]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40549a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072b9
push ecx
push edx
call fcn.00435574
add esp, 8
mov edx, str.OBJ_Model_Material___
mov ecx, 0x4b1dd8
call fcn.0040b230
cmp dword [ebp - 0x4c], 0xf
lea edx, [ebp - 0x60]
push dword [ebp - 0x50]
cmova edx, dword [ebp - 0x60]
mov ecx, eax
call fcn.0040cc30
add esp, 4
mov edx, 0x4a3ab4
mov ecx, eax
call fcn.0040b230
mov byte [ebp - 0x39c], 0
lea edx, [ebp - 0x60]
push dword [ebp - 0x39c]
lea ecx, [ebp - 0x360]
call fcn.0040ce90
sub esp, 0x14
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x360]
mov ecx, esp
push eax
call fcn.00403e60
mov ecx, dword [ebp - 0x338]
lea ecx, [ecx + 0x38]
call fcn.004096c0
test eax, eax
je 0x405547
mov ecx, dword [ebp - 0x338]
call fcn.00407b70
mov ecx, dword [ebp - 0x338]
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x405547
push eax
call fcn.0046660e
mov ecx, dword [ebp - 0x338]
add esp, 4
mov dword [ecx + 0x3c], 0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x34c]
cmp ecx, 7
jbe 0x40558b
mov edx, dword [ebp - 0x360]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405581
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072b9
push ecx
push edx
call fcn.00435574
add esp, 8
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x4055c3
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4055b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072b9
push ecx
push edx
call fcn.00435574
add esp, 8
lea ecx, [ebp - 0xcc]
call fcn.00409ac0
lea ecx, [ebp - 0x74]
call fcn.0040a6f0
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x4055f2
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4055f2
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
lea ecx, [ebp - 0x134]
call fcn.0040a6f0
mov ecx, dword [ebp - 0x124]
jmp 0x406dac
cmp byte [ebp - 0x325], 0
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x324]
mov edx, dword [ebp - 0x32c]
cmovne eax, ecx
mov dword [ebp - 0x324], eax
cmp edx, 1
jne 0x4056e6
mov esi, edx
mov dword [ebp - 0x31c], 0x4a3ad0
sub esi, 4
mov dword [ebp - 0x32c], esi
jb 0x40567b
nop word [eax + eax]
mov esi, dword [ebp - 0x31c]
mov eax, dword [eax]
cmp eax, dword [esi]
mov eax, dword [ebp - 0x324]
jne 0x405684
add dword [ebp - 0x31c], 4
add eax, 4
sub dword [ebp - 0x32c], 4
mov dword [ebp - 0x324], eax
jae 0x405650
cmp dword [ebp - 0x32c], 0xfffffffc
je 0x4056dc
mov esi, dword [ebp - 0x31c]
mov al, byte [eax]
cmp al, byte [esi]
jne 0x4056d5
cmp dword [ebp - 0x32c], 0xfffffffd
je 0x4056dc
mov eax, dword [ebp - 0x324]
mov al, byte [eax + 1]
cmp al, byte [esi + 1]
jne 0x4056d5
cmp dword [ebp - 0x32c], 0xfffffffe
je 0x4056dc
mov eax, dword [ebp - 0x324]
mov al, byte [eax + 2]
cmp al, byte [esi + 2]
jne 0x4056d5
cmp dword [ebp - 0x32c], 0xffffffff
je 0x4056dc
mov eax, dword [ebp - 0x324]
mov al, byte [eax + 3]
cmp al, byte [esi + 3]
je 0x4056dc
sbb eax, eax
or eax, 1
jmp 0x4056de
xor eax, eax
test eax, eax
je 0x4057b6
cmp byte [ebp - 0x325], 0
lea eax, [ebp - 0x48]
cmovne eax, ecx
mov dword [ebp - 0x32c], eax
cmp edx, 1
jne 0x405af4
mov esi, edx
mov dword [ebp - 0x31c], 0x4a3ad4
sub esi, 4
mov dword [ebp - 0x324], esi
jb 0x40574b
nop dword [eax]
mov esi, dword [ebp - 0x31c]
mov eax, dword [eax]
cmp eax, dword [esi]
mov eax, dword [ebp - 0x32c]
jne 0x405754
add dword [ebp - 0x31c], 4
add eax, 4
sub dword [ebp - 0x324], 4
mov dword [ebp - 0x32c], eax
jae 0x405720
cmp dword [ebp - 0x324], 0xfffffffc
je 0x4057ac
mov esi, dword [ebp - 0x31c]
mov al, byte [eax]
cmp al, byte [esi]
jne 0x4057a5
cmp dword [ebp - 0x324], 0xfffffffd
je 0x4057ac
mov eax, dword [ebp - 0x32c]
mov al, byte [eax + 1]
cmp al, byte [esi + 1]
jne 0x4057a5
cmp dword [ebp - 0x324], 0xfffffffe
je 0x4057ac
mov eax, dword [ebp - 0x32c]
mov al, byte [eax + 2]
cmp al, byte [esi + 2]
jne 0x4057a5
cmp dword [ebp - 0x324], 0xffffffff
je 0x4057ac
mov eax, dword [ebp - 0x32c]
mov al, byte [eax + 3]
cmp al, byte [esi + 3]
je 0x4057ac
sbb eax, eax
or eax, 1
jmp 0x4057ae
xor eax, eax
test eax, eax
jne 0x405af4
xorps xmm0, xmm0
mov dword [ebp - 0x35c], 0
lea eax, [ebp - 0x36c]
mov dword [ebp - 0x358], 0xf
movups xmmword [ebp - 0x36c], xmm0
push eax
lea ecx, [ebp - 0xf8]
mov byte [ebp - 0x36c], 0
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x350], 0
mov dword [ebp - 0x34c], 0
call fcn.0040a510
lea ecx, [ebp - 0xe0]
call fcn.0040a740
mov eax, dword [ebp - 0x354]
lea ecx, [ebp - 0x354]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x34c]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x350], 0
mov dword [ebp - 0x34c], 0
call fcn.0040a740
mov ecx, dword [ebp - 0x358]
cmp ecx, 0xf
jbe 0x40589d
mov edx, dword [ebp - 0x36c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405893
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072b9
push ecx
push edx
call fcn.00435574
add esp, 8
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0xf8]
push ecx
cmp eax, dword [ebp - 0x7c]
je 0x4058c1
mov edx, eax
call fcn.0040f1b0
mov edi, dword [ebp - 0x80]
add esp, 4
add edi, 0x24
mov dword [ebp - 0x80], edi
jmp 0x4058d0
push eax
lea ecx, [ebp - 0x84]
call fcn.0040da90
mov edi, dword [ebp - 0x80]
add edi, 0xffffffdc
mov dword [ebp - 0x344], edi
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x34]
cmp eax, 0xf
jbe 0x405913
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x405909
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072b9
push edx
push ecx
call fcn.00435574
add esp, 8
mov eax, dword [ebp - 0x348]
cmp dword [ebp - 0x33c], eax
jb 0x405140
xorps xmm0, xmm0
movups xmmword [ebp - 0x118], xmm0
mov dword [ebp - 0x118], vtable.Clb184::CTexture.0
movups xmmword [ebp - 0x108], xmm0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
mov byte [ebp - 0x104], 0
push 0x80000
mov byte [ebp - 4], 0x13
call fcn.00466b42
mov esi, eax
add esp, 4
test esi, esi
je 0x4059f5
push 0x80000
push 0xffffffffffffffff
push esi
call fcn.0045e8a0
add esp, 0xc
lea ecx, [ebp - 0x118]
push esi
push 0x100
push 0x100
call fcn.00433f10
push esi
test al, al
je 0x4059ed
mov dword [ebp - 0x114], 0x100
mov dword [ebp - 0x110], 0x100
mov dword [ebp - 0x10c], 0x3b800000
mov dword [ebp - 0x108], 0x3b800000
call fcn.0046660e
add esp, 4
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x80]
cmp eax, ecx
je 0x4070ff
add eax, 0x1c
mov dword [ebp - 0x344], eax
nop
mov esi, dword [eax - 4]
mov dword [ebp - 0x33c], esi
cmp esi, dword [eax]
je 0x4070e5
lea edi, [esi + 0x2c]
nop dword [eax]
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x318], 0
movups xmmword [ebp - 0x314], xmm0
mov dword [ebp - 0x304], 0
mov dword [ebp - 0x300], 0xf
mov byte [ebp - 0x314], 0
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], 0
mov dword [ebp - method.Clb184::CTexture.virtual_0], vtable.Clb184::CTexture.0
mov dword [ebp - 0x2f8], 0
mov dword [ebp - 0x2f4], 0
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 0
mov byte [ebp - 0x2e8], 0
mov byte [ebp - 4], 0x14
cmp dword [edi + 0x14], 0
je 0x406e89
lea eax, [edi - 0x14]
lea ecx, [ebp - 0x314]
cmp ecx, eax
je 0x405ae0
cmp dword [edi], 0xf
lea eax, [edi - 0x14]
jbe 0x405ad1
mov eax, dword [eax]
push dword [edi - 4]
lea ecx, [ebp - 0x314]
push eax
call fcn.0040a9f0
lea eax, [edi + 0x1c]
push eax
lea ecx, [ebp - 0x2fc]
call fcn.004079e0
jmp 0x406efc
cmp byte [ebp - 0x325], 0
lea eax, [ebp - 0x48]
cmovne eax, ecx
mov dword [ebp - 0x32c], eax
cmp edx, 1
jne 0x405cc7
mov esi, edx
mov dword [ebp - 0x31c], 0x4a3ad4
sub esi, 4
mov dword [ebp - 0x324], esi
jb 0x405b5b
nop word [eax + eax]
mov esi, dword [ebp - 0x31c]
mov eax, dword [eax]
cmp eax, dword [esi]
mov eax, dword [ebp - 0x32c]
jne 0x405b64
add dword [ebp - 0x31c], 4
add eax, 4
sub dword [ebp - 0x324], 4
mov dword [ebp - 0x32c], eax
jae 0x405b30
cmp dword [ebp - 0x324], 0xfffffffc
je 0x405bbc
mov esi, dword [ebp - 0x31c]
mov al, byte [eax]
cmp al, byte [esi]
jne 0x405bb5
cmp dword [ebp - 0x324], 0xfffffffd
je 0x405bbc
mov eax, dword [ebp - 0x32c]
mov al, byte [eax + 1]
cmp al, byte [esi + 1]
jne 0x405bb5
cmp dword [ebp - 0x324], 0xfffffffe
je 0x405bbc
mov eax, dword [ebp - 0x32c]
mov al, byte [eax + 2]
cmp al, byte [esi + 2]
jne 0x405bb5
cmp dword [ebp - 0x324], 0xffffffff
je 0x405bbc
mov eax, dword [ebp - 0x32c]
mov al, byte [eax + 3]
cmp al, byte [esi + 3]
je 0x405bbc
sbb eax, eax
or eax, 1
jmp 0x405bbe
xor eax, eax
test eax, eax
jne 0x405cc7
xorps xmm0, xmm0
mov dword [ebp - 0x3b8], eax
movups xmmword [ebp - 0x3c8], xmm0
mov byte [ebp - 0x3c8], al
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x3b0], eax
mov dword [ebp - 0x3ac], eax
mov dword [ebp - 0x3a8], eax
lea eax, [ebp - 0x3c8]
push eax
mov dword [ebp - 0x3b4], 0xf
call fcn.0040a510
lea ecx, [ebp - 0xe0]
call fcn.0040a740
mov eax, dword [ebp - 0x3b0]
lea ecx, [ebp - 0x3b0]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x3ac]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x3a8]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x3b0], 0
mov dword [ebp - 0x3ac], 0
mov dword [ebp - 0x3a8], 0
call fcn.0040a740
mov ecx, dword [ebp - 0x3b4]
cmp ecx, 0xf
jbe 0x405c9c
mov edx, dword [ebp - 0x3c8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405c92
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072b9
push ecx
push edx
call fcn.00435574
add esp, 8
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0xf8]
push ecx
cmp eax, dword [ebp - 0x7c]
je 0x4058c1
mov edx, eax
call fcn.0040f1b0
mov edi, dword [ebp - 0x80]
add esp, 4
add edi, 0x24
mov dword [ebp - 0x80], edi
jmp 0x4058d0
cmp byte [ebp - 0x325], 0
lea eax, [ebp - 0x48]
cmovne eax, ecx
mov dword [ebp - 0x32c], eax
cmp edx, 1
jne 0x405e96
mov esi, edx
mov dword [ebp - 0x31c], 0x4a3ad8
sub esi, 4
mov dword [ebp - 0x324], esi
jb 0x405d2b
nop word [eax + eax]
mov esi, dword [ebp - 0x31c]
mov eax, dword [eax]
cmp eax, dword [esi]
mov eax, dword [ebp - 0x32c]
jne 0x405d34
add dword [ebp - 0x31c], 4
add eax, 4
sub dword [ebp - 0x324], 4
mov dword [ebp - 0x32c], eax
jae 0x405d00
cmp dword [ebp - 0x324], 0xfffffffc
je 0x405d8c
mov esi, dword [ebp - 0x31c]
mov al, byte [eax]
cmp al, byte [esi]
jne 0x405d85
cmp dword [ebp - 0x324], 0xfffffffd
je 0x405d8c
mov eax, dword [ebp - 0x32c]
mov al, byte [eax + 1]
cmp al, byte [esi + 1]
jne 0x405d85
cmp dword [ebp - 0x324], 0xfffffffe
je 0x405d8c
mov eax, dword [ebp - 0x32c]
mov al, byte [eax + 2]
cmp al, byte [esi + 2]
jne 0x405d85
cmp dword [ebp - 0x324], 0xffffffff
je 0x405d8c
mov eax, dword [ebp - 0x32c]
mov al, byte [eax + 3]
cmp al, byte [esi + 3]
je 0x405d8c
sbb eax, eax
or eax, 1
jmp 0x405d8e
xor eax, eax
test eax, eax
jne 0x405e96
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x164], eax
push 0x4a3adc
lea ecx, [ebp - 0x174]
movups xmmword [ebp - 0x174], xmm0
call fcn.00409b90
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0xf
mov edx, dword [ebp - 0x20]
jbe 0x405dce
mov ecx, dword [ebp - 0x30]
add edx, ecx
jmp 0x405dd3
add edx, ecx
lea ecx, [ebp - 0x30]
add ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x174]
push ecx
push 0x10
push eax
push ecx
call fcn.0040cec0
add esp, 0x10
test al, al
je 0x405e80
lea eax, [ebp - 0x408]
push eax
lea ecx, [ebp - 0x334]
call fcn.00407500
mov ecx, dword [ebp - 0x338]
movss xmm0, dword [ebp - 0x408]
add ecx, 0xc
movss dword [ebp - 0x398], xmm0
movss xmm0, dword [ebp - 0x404]
movss dword [ebp - 0x394], xmm0
movss xmm0, dword [ebp - 0x400]
mov edx, dword [ecx + 4]
movss dword [ebp - 0x390], xmm0
cmp edx, dword [ecx + 8]
je 0x405e73
movq xmm0, qword [ebp - 0x398]
mov eax, dword [ebp - 0x390]
movq qword [edx], xmm0
mov dword [edx + 8], eax
add dword [ecx + 4], 0xc
lea ecx, [ebp - 0x174]
call fcn.0040a6f0
mov ecx, dword [ebp - 0x164]
jmp 0x406dac
lea eax, [ebp - 0x398]
push eax
push edx
call fcn.0040d650
lea ecx, [ebp - 0x174]
call fcn.0040a6f0
mov ecx, dword [ebp - 0x164]
jmp 0x406dac
cmp byte [ebp - 0x325], 0
lea eax, [ebp - 0x48]
cmovne eax, ecx
mov dword [ebp - 0x32c], eax
cmp edx, 2
jne 0x405fe9
mov esi, edx
mov dword [ebp - 0x31c], 0x4a3af4
sub esi, 4
mov dword [ebp - 0x324], esi
jb 0x405efb
nop dword [eax]
mov esi, dword [ebp - 0x31c]
mov eax, dword [eax]
cmp eax, dword [esi]
mov eax, dword [ebp - 0x32c]
jne 0x405f04
add dword [ebp - 0x31c], 4
add eax, 4
sub dword [ebp - 0x324], 4
mov dword [ebp - 0x32c], eax
jae 0x405ed0
cmp dword [ebp - 0x324], 0xfffffffc
je 0x405f5c
mov esi, dword [ebp - 0x31c]
mov al, byte [eax]
cmp al, byte [esi]
jne 0x405f55
cmp dword [ebp - 0x324], 0xfffffffd
je 0x405f5c
mov eax, dword [ebp - 0x32c]
mov al, byte [eax + 1]
cmp al, byte [esi + 1]
jne 0x405f55
cmp dword [ebp - 0x324], 0xfffffffe
je 0x405f5c
mov eax, dword [ebp - 0x32c]
mov al, byte [eax + 2]
cmp al, byte [esi + 2]
jne 0x405f55
cmp dword [ebp - 0x324], 0xffffffff
je 0x405f5c
mov eax, dword [ebp - 0x32c]
mov al, byte [eax + 3]
cmp al, byte [esi + 3]
je 0x405f5c
sbb eax, eax
or eax, 1
jmp 0x405f5e
xor eax, eax
test eax, eax
jne 0x405fe9
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x334]
call fcn.00407500
movss xmm0, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x338]
add ecx, 0x24
movss dword [ebp - 0x38c], xmm0
movss xmm0, dword [ebp - 0x414]
movss dword [ebp - 0x388], xmm0
movss xmm0, dword [ebp - 0x410]
mov edx, dword [ecx + 4]
movss dword [ebp - 0x384], xmm0
cmp edx, dword [ecx + 8]
je 0x405fd7
movq xmm0, qword [ebp - 0x38c]
mov eax, dword [ebp - 0x384]
movq qword [edx], xmm0
mov dword [edx + 8], eax
add dword [ecx + 4], 0xc
jmp 0x4058d9
lea eax, [ebp - 0x38c]
push eax
push edx
call fcn.0040d650
jmp 0x4058d9
cmp byte [ebp - 0x325], 0
lea eax, [ebp - 0x48]
cmovne eax, ecx
mov dword [ebp - 0x32c], eax
cmp edx, 2
jne 0x406133
mov esi, edx
mov dword [ebp - 0x31c], 0x4a3af8
sub esi, 4
mov dword [ebp - 0x324], esi
jb 0x40604b
nop dword [eax]
mov esi, dword [ebp - 0x31c]
mov eax, dword [eax]
cmp eax, dword [esi]
mov eax, dword [ebp - 0x32c]
jne 0x406054
add dword [ebp - 0x31c], 4
add eax, 4
sub dword [ebp - 0x324], 4
mov dword [ebp - 0x32c], eax
jae 0x406020
cmp dword [ebp - 0x324], 0xfffffffc
je 0x4060ac
mov esi, dword [ebp - 0x31c]
mov al, byte [eax]
cmp al, byte [esi]
jne 0x4060a5
cmp dword [ebp - 0x324], 0xfffffffd
je 0x4060ac
mov eax, dword [ebp - 0x32c]
mov al, byte [eax + 1]
cmp al, byte [esi + 1]
jne 0x4060a5
cmp dword [ebp - 0x324], 0xfffffffe
je 0x4060ac
mov eax, dword [ebp - 0x32c]
mov al, byte [eax + 2]
cmp al, byte [esi + 2]
jne 0x4060a5
cmp dword [ebp - 0x324], 0xffffffff
je 0x4060ac
mov eax, dword [ebp - 0x32c]
mov al, byte [eax + 3]
cmp al, byte [esi + 3]
je 0x4060ac
sbb eax, eax
or eax, 1
jmp 0x4060ae
xor eax, eax
test eax, eax
jne 0x406133
lea eax, [ebp - 0x4d0]
push eax
lea ecx, [ebp - 0x334]
call fcn.00407500
mov edx, dword [ebp - 0x338]
movss xmm0, dword [ebp - 0x4d0]
movss dword [ebp - 0x380], xmm0
movss xmm0, dword [ebp - 0x4cc]
mov eax, dword [edx + 0x1c]
movss dword [ebp - 0x37c], xmm0
mov dword [ebp - 0x334], eax
cmp eax, dword [edx + 0x20]
je 0x40611e
mov esi, dword [ebp - 0x334]
mov eax, dword [ebp - 0x380]
mov ecx, dword [ebp - 0x37c]
mov dword [esi], eax
mov eax, esi
mov dword [eax + 4], ecx
add dword [edx + 0x1c], 8
jmp 0x4058d9
lea ecx, [ebp - 0x380]
push ecx
push eax
lea ecx, [edx + 0x18]
call fcn.0040d4f0
jmp 0x4058d9
cmp byte [ebp - 0x325], 0
lea eax, [ebp - 0x48]
cmovne eax, ecx
mov dword [ebp - 0x32c], eax
cmp edx, 2
jne 0x406212
mov esi, edx
mov dword [ebp - 0x31c], 0x4a3afc
sub esi, 4
mov dword [ebp - 0x324], esi
jb 0x406191
mov esi, dword [ebp - 0x31c]
mov eax, dword [eax]
cmp eax, dword [esi]
mov eax, dword [ebp - 0x32c]
jne 0x40619a
add dword [ebp - 0x31c], 4
add eax, 4
sub dword [ebp - 0x324], 4
mov dword [ebp - 0x32c], eax
jae 0x406166
cmp dword [ebp - 0x324], 0xfffffffc
je 0x4061f2
mov esi, dword [ebp - 0x31c]
mov al, byte [eax]
cmp al, byte [esi]
jne 0x4061eb
cmp dword [ebp - 0x324], 0xfffffffd
je 0x4061f2
mov eax, dword [ebp - 0x32c]
mov al, byte [eax + 1]
cmp al, byte [esi + 1]
jne 0x4061eb
cmp dword [ebp - 0x324], 0xfffffffe
je 0x4061f2
mov eax, dword [ebp - 0x32c]
mov al, byte [eax + 2]
cmp al, byte [esi + 2]
jne 0x4061eb
cmp dword [ebp - 0x324], 0xffffffff
je 0x4061f2
mov eax, dword [ebp - 0x32c]
mov al, byte [eax + 3]
cmp al, byte [esi + 3]
je 0x4061f2
sbb eax, eax
or eax, 1
jmp 0x4061f4
xor eax, eax
test eax, eax
jne 0x406212
cmp byte [ebp - 0x325], 0
mov byte [ebp - 4], 5
je 0x405913
mov edx, dword [ebp - 0x34]
inc edx
jmp 0x4058eb
cmp byte [ebp - 0x325], 0
lea eax, [ebp - 0x48]
cmovne eax, ecx
mov dword [ebp - 0x32c], eax
cmp edx, 1
jne 0x4062db
mov esi, edx
mov dword [ebp - 0x31c], 0x4a3b00
sub esi, 4
mov dword [ebp - 0x324], esi
jb 0x406270
mov esi, dword [ebp - 0x31c]
mov eax, dword [eax]
cmp eax, dword [esi]
mov eax, dword [ebp - 0x32c]
jne 0x406279
add dword [ebp - 0x31c], 4
add eax, 4
sub dword [ebp - 0x324], 4
mov dword [ebp - 0x32c], eax
jae 0x406245
cmp dword [ebp - 0x324], 0xfffffffc
je 0x4062d1
mov esi, dword [ebp - 0x31c]
mov al, byte [eax]
cmp al, byte [esi]
jne 0x4062ca
cmp dword [ebp - 0x324], 0xfffffffd
je 0x4062d1
mov eax, dword [ebp - 0x32c]
mov al, byte [eax + 1]
cmp al, byte [esi + 1]
jne 0x4062ca
cmp dword [ebp - 0x324], 0xfffffffe
je 0x4062d1
mov eax, dword [ebp - 0x32c]
mov al, byte [eax + 2]
cmp al, byte [esi + 2]
jne 0x4062ca
cmp dword [ebp - 0x324], 0xffffffff
je 0x4062d1
mov eax, dword [ebp - 0x32c]
mov al, byte [eax + 3]
cmp al, byte [esi + 3]
je 0x4062d1
sbb eax, eax
or eax, 1
jmp 0x4062d3
xor eax, eax
test eax, eax
je 0x4058dc
cmp byte [ebp - 0x325], 0
lea eax, [ebp - 0x48]
cmovne eax, ecx
mov dword [ebp - 0x32c], eax
cmp edx, 6
jne 0x406792
mov esi, edx
mov dword [ebp - 0x31c], str.usemtl
sub esi, 4
mov dword [ebp - 0x324], esi
jb 0x40633b
nop
mov esi, dword [ebp - 0x31c]
mov eax, dword [eax]
cmp eax, dword [esi]
mov eax, dword [ebp - 0x32c]
jne 0x406344
add dword [ebp - 0x31c], 4
add eax, 4
sub dword [ebp - 0x324], 4
mov dword [ebp - 0x32c], eax
jae 0x406310
cmp dword [ebp - 0x324], 0xfffffffc
je 0x40639c
mov esi, dword [ebp - 0x31c]
mov al, byte [eax]
cmp al, byte [esi]
jne 0x406395
cmp dword [ebp - 0x324], 0xfffffffd
je 0x40639c
mov eax, dword [ebp - 0x32c]
mov al, byte [eax + 1]
cmp al, byte [esi + 1]
jne 0x406395
cmp dword [ebp - 0x324], 0xfffffffe
je 0x40639c
mov eax, dword [ebp - 0x32c]
mov al, byte [eax + 2]
cmp al, byte [esi + 2]
jne 0x406395
cmp dword [ebp - 0x324], 0xffffffff
je 0x40639c
mov eax, dword [ebp - 0x32c]
mov al, byte [eax + 3]
cmp al, byte [esi + 3]
je 0x40639c
sbb eax, eax
or eax, 1
jmp 0x40639e
xor eax, eax
test eax, eax
jne 0x406792
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x224], eax
push str._s__w.__
lea ecx, [ebp - 0x234]
movups xmmword [ebp - 0x234], xmm0
call fcn.00409b90
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x120]
call fcn.00407390
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x4c0]
xorps xmm0, xmm0
mov dword [ebp - 0x4b0], 0
movups xmmword [ebp - 0x4c0], xmm0
push eax
movups xmmword [ebp - 0x4a8], xmm0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x4ac], 0xf
movups xmmword [ebp - 0x490], xmm0
mov byte [ebp - 0x4c0], 0
movaps xmm0, xmmword [0x4a66f0]
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 0xf
mov byte [ebp - 0x4a8], 0
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 0xf
mov byte [ebp - 0x490], 0
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0
mov dword [ebp - method.Clb184::CTexture.virtual_0], vtable.Clb184::CTexture.0
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 0
mov byte [ebp - 0x464], 0
movups xmmword [ebp - 0x458], xmm0
mov dword [ebp - 0x428], 0x3f800000
movups xmmword [ebp - 0x448], xmm0
mov dword [ebp - 0x424], 0
movups xmmword [ebp - 0x438], xmm0
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0
call fcn.0040a510
lea eax, [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x208]
call fcn.00407950
lea ecx, [ebp - 0x184]
call fcn.0040a7d0
mov eax, dword [ebp - 0x424]
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x41c]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0
call fcn.0040a7d0
lea ecx, [ebp - 0x4a8]
call fcn.004076b0
mov ecx, dword [ebp - 0x4ac]
cmp ecx, 0xf
jbe 0x40659c
mov edx, dword [ebp - 0x4c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406592
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072b9
push ecx
push edx
call fcn.00435574
add esp, 8
push 0
sub esp, 8
lea ecx, [ebp - 0x1d8]
call fcn.00433e90
mov ecx, dword [ebp - 0x338]
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ecx + 0x40]
call fcn.00409d70
mov esi, eax
lea eax, [ebp - 0x208]
cmp eax, esi
je 0x4065e6
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x4065d7
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x208]
push eax
call fcn.0040a9f0
lea eax, [esi + 0x18]
lea ecx, [ebp - 0x1f0]
cmp ecx, eax
je 0x40660b
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x4065fe
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x1f0]
call fcn.0040a9f0
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.004079e0
movss xmm0, dword [esi + 0x50]
lea eax, [ebp - 0x14c]
movss dword [ebp - 0x1b8], xmm0
lea ecx, [ebp - 0x220]
movss xmm0, dword [esi + 0x54]
movss dword [ebp - 0x1b4], xmm0
movss xmm0, dword [esi + 0x58]
movss dword [ebp - 0x1b0], xmm0
movss xmm0, dword [esi + 0x5c]
cmp dword [ebp - 0x138], 0xf
push dword [ebp - 0x13c]
movss dword [ebp - 0x1ac], xmm0
movss xmm0, dword [esi + 0x60]
cmova eax, dword [ebp - 0x14c]
movss dword [ebp - 0x1a8], xmm0
movss xmm0, dword [esi + 0x64]
movss dword [ebp - 0x1a4], xmm0
movss xmm0, dword [esi + 0x68]
movss dword [ebp - 0x1a0], xmm0
movss xmm0, dword [esi + 0x6c]
movss dword [ebp - 0x19c], xmm0
movss xmm0, dword [esi + 0x70]
movss dword [ebp - 0x198], xmm0
movss xmm0, dword [esi + 0x74]
movss dword [ebp - 0x194], xmm0
movss xmm0, dword [esi + 0x78]
movss dword [ebp - 0x190], xmm0
movss xmm0, dword [esi + 0x7c]
movss dword [ebp - 0x18c], xmm0
movss xmm0, dword [esi + 0x80]
push eax
movss dword [ebp - 0x188], xmm0
call fcn.0040a9f0
mov eax, dword [edi + 0x1c]
lea ecx, [ebp - 0x220]
push ecx
cmp eax, dword [edi + 0x20]
je 0x40670b
mov ecx, eax
call fcn.0040f4a0
add dword [edi + 0x1c], 0xa8
jmp 0x406714
push eax
lea ecx, [edi + 0x18]
call fcn.0040dcb0
mov esi, dword [edi + 0x1c]
add esi, 0xffffff58
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x320], esi
cmp ecx, 0xf
jbe 0x406761
mov edx, dword [ebp - 0x14c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406757
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072b9
push ecx
push edx
call fcn.00435574
add esp, 8
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0xf
mov byte [ebp - 0x14c], 0
call fcn.0040a6f0
mov ecx, dword [ebp - 0x224]
jmp 0x406dac
cmp byte [ebp - 0x325], 0
lea eax, [ebp - 0x48]
cmovne eax, ecx
mov dword [ebp - 0x32c], eax
cmp edx, 1
jne 0x406dd2
mov esi, edx
mov dword [ebp - 0x31c], 0x4a3b1c
sub esi, 4
mov dword [ebp - 0x324], esi
mov esi, dword [ebp - 0x320]
jb 0x406801
nop dword [eax + eax]
mov esi, dword [ebp - 0x31c]
mov eax, dword [eax]
cmp eax, dword [esi]
mov eax, dword [ebp - 0x32c]
jne 0x40680e
add dword [ebp - 0x31c], 4
add eax, 4
sub dword [ebp - 0x324], 4
mov esi, dword [ebp - 0x320]
mov dword [ebp - 0x32c], eax
jae 0x4067d0
cmp dword [ebp - 0x324], 0xfffffffc
je 0x406890
mov esi, dword [ebp - 0x31c]
mov al, byte [eax]
cmp al, byte [esi]
mov esi, dword [ebp - 0x320]
jne 0x406889
cmp dword [ebp - 0x324], 0xfffffffd
je 0x406890
mov eax, dword [ebp - 0x32c]
mov esi, dword [ebp - 0x31c]
mov al, byte [eax + 1]
cmp al, byte [esi + 1]
mov esi, dword [ebp - 0x320]
jne 0x406889
cmp dword [ebp - 0x324], 0xfffffffe
je 0x406890
mov eax, dword [ebp - 0x32c]
mov esi, dword [ebp - 0x31c]
mov al, byte [eax + 2]
cmp al, byte [esi + 2]
mov esi, dword [ebp - 0x320]
jne 0x406889
cmp dword [ebp - 0x324], 0xffffffff
je 0x406890
mov eax, dword [ebp - 0x32c]
mov esi, dword [ebp - 0x31c]
mov al, byte [eax + 3]
cmp al, byte [esi + 3]
mov esi, dword [ebp - 0x320]
je 0x406890
sbb eax, eax
or eax, 1
jmp 0x406892
xor eax, eax
test eax, eax
jne 0x406dd2
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x150], eax
push str.__sd_d_d_3
lea ecx, [ebp - 0x160]
movups xmmword [ebp - 0x160], xmm0
call fcn.00409b90
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0xf
mov edx, dword [ebp - 0x20]
jbe 0x4068d2
mov ecx, dword [ebp - 0x30]
add edx, ecx
jmp 0x4068d7
add edx, ecx
lea ecx, [ebp - 0x30]
add ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x160]
push ecx
push 0x10
push eax
push ecx
call fcn.0040cec0
add esp, 0x10
test al, al
je 0x406d9b
mov dword [ebp - 0x324], 0
nop
xorps xmm0, xmm0
mov dword [ebp - 0x370], 0
movlpd qword [ebp - 0x378], xmm0
movlpd qword [ebp - 0x35c], xmm0
movlpd qword [ebp - 0x354], xmm0
movaps xmm0, xmmword [0x4a66f0]
movups xmmword [ebp - 0x36c], xmm0
mov dword [ebp - 0x34c], 0
movups xmm0, xmmword [ebp - 0x378]
push ecx
push str._d_
movups xmmword [ebp - 0x3f8], xmm0
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x124], 0
movups xmm0, xmmword [ebp - 0x368]
movups xmmword [ebp - 0x3e8], xmm0
movups xmm0, xmmword [ebp - 0x358]
movups xmmword [ebp - 0x3d8], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x134], xmm0
call fcn.00409b90
push 0x38
lea eax, [ebp - 0xd4]
push 0
push eax
call fcn.0045e8a0
xorps xmm0, xmm0
mov dword [ebp - 0xd4], 0
add esp, 0xc
mov byte [ebp - 0xd0], 0
movups xmmword [ebp - 0xcc], xmm0
mov dword [ebp - 0xbc], 0
mov byte [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov byte [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov byte [ebp - 0xa0], 0
mov dword [ebp - 0x334], 0
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0xf
mov eax, dword [ebp - 0x20]
jbe 0x406a42
mov ecx, dword [ebp - 0x30]
add eax, ecx
mov edx, ecx
jmp 0x406a47
lea edx, [ebp - 0x30]
add eax, edx
push ecx
push ecx
push eax
push edx
lea edx, [ebp - 0x134]
lea ecx, [ebp - 0xd4]
call fcn.0040c9d0
add esp, 0x10
test al, al
je 0x406b0d
mov ecx, dword [ebp - 0xcc]
cmp ecx, dword [ebp - 0xc8]
je 0x406b0d
cmp byte [ecx + 8], 0
je 0x406a8e
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
mov ecx, edx
mov dword [ebp - 0x32c], edx
jmp 0x406a94
xor eax, eax
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x68], 0
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x78], xmm0
cmp eax, edx
jne 0x406aba
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
jmp 0x406ac6
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.0040bb40
or dword [ebp - 0x340], 0x30
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x60]
call fcn.0040a510
mov ecx, dword [ebp - 0x64]
cmp ecx, 0xf
jbe 0x406b0d
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406b03
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072b9
push ecx
push edx
call fcn.00435574
add esp, 8
cmp byte [ebp - 0xac], 0
je 0x406b2c
mov edx, dword [ebp - 0xb0]
mov ecx, edx
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x32c], edx
jmp 0x406b32
xor eax, eax
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x68], 0
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x78], xmm0
cmp eax, edx
jne 0x406b58
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
jmp 0x406b64
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.0040bb40
or dword [ebp - 0x340], 8
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040a510
mov ecx, dword [ebp - 0x64]
cmp ecx, 0xf
jbe 0x406bab
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406ba1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072b9
push ecx
push edx
call fcn.00435574
add esp, 8
mov eax, dword [ebp - 0x334]
sub eax, 0
je 0x406c66
sub eax, 1
je 0x406c21
sub eax, 1
jne 0x406cba
sub esp, 0x18
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.0040a5d0
call fcn.00404ee0
subss xmm0, dword [0x4a64b0]
cvttss2si eax, xmm0
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x338]
mov eax, dword [eax + 0x24]
movss xmm0, dword [eax + ecx*4]
movss dword [ebp - 0x3d4], xmm0
movss xmm0, dword [eax + ecx*4 + 4]
movss dword [ebp - 0x3d0], xmm0
movss xmm0, dword [eax + ecx*4 + 8]
movss dword [ebp - 0x3cc], xmm0
jmp 0x406cba
sub esp, 0x18
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.0040a5d0
call fcn.00404ee0
subss xmm0, dword [0x4a64b0]
mov eax, dword [ebp - 0x338]
mov eax, dword [eax + 0x18]
cvttss2si ecx, xmm0
movss xmm0, dword [eax + ecx*8]
movss dword [ebp - 0x3dc], xmm0
movss xmm0, dword [eax + ecx*8 + 4]
movss dword [ebp - 0x3d8], xmm0
jmp 0x406cba
sub esp, 0x18
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.0040a5d0
call fcn.00404ee0
subss xmm0, dword [0x4a64b0]
cvttss2si eax, xmm0
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x338]
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax + ecx*4]
movss dword [ebp - 0x3f8], xmm0
movss xmm0, dword [eax + ecx*4 + 4]
movss dword [ebp - 0x3f4], xmm0
movss xmm0, dword [eax + ecx*4 + 8]
movss dword [ebp - 0x3f0], xmm0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x406cf2
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406ce8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072b9
push ecx
push edx
call fcn.00435574
add esp, 8
mov eax, dword [ebp - 0x334]
inc eax
mov dword [ebp - 0x334], eax
cmp eax, 3
jl 0x406a10
mov eax, dword [esi + 0xa0]
lea ecx, [esi + 0x9c]
cmp eax, dword [ecx + 8]
je 0x406d3f
movups xmm0, xmmword [ebp - 0x3f8]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x3e8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x3d8]
movups xmmword [eax + 0x20], xmm0
add dword [ecx + 4], 0x30
jmp 0x406d4c
lea edx, [ebp - 0x3f8]
push edx
push eax
call fcn.0040def0
lea ecx, [ebp - 0xcc]
call fcn.00409ac0
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0xf
call fcn.0040a6f0
mov ecx, dword [ebp - 0x124]
test ecx, ecx
je 0x406d85
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x406d85
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov eax, dword [ebp - 0x324]
inc eax
mov dword [ebp - 0x324], eax
cmp eax, 3
jl 0x406900
lea ecx, [ebp - 0x160]
call fcn.0040a6f0
mov ecx, dword [ebp - 0x150]
test ecx, ecx
je 0x4058d9
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4058d9
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
jmp 0x4058d9
cmp byte [ebp - 0x325], 0
lea eax, [ebp - 0x48]
cmovne eax, ecx
mov dword [ebp - 0x31c], eax
cmp edx, 1
jne 0x4058dc
mov dword [ebp - 0x32c], 0x4a3b40
sub edx, 4
jb 0x406e27
nop dword [eax]
mov esi, dword [ebp - 0x32c]
mov eax, dword [eax]
cmp eax, dword [esi]
mov eax, dword [ebp - 0x31c]
jne 0x406e2c
add dword [ebp - 0x32c], 4
add eax, 4
mov dword [ebp - 0x31c], eax
sub edx, 4
jae 0x406e00
cmp edx, 0xfffffffc
je 0x406e7a
mov esi, dword [ebp - 0x32c]
mov al, byte [eax]
cmp al, byte [esi]
jne 0x406e73
cmp edx, 0xfffffffd
je 0x406e7a
mov eax, dword [ebp - 0x31c]
mov al, byte [eax + 1]
cmp al, byte [esi + 1]
jne 0x406e73
cmp edx, 0xfffffffe
je 0x406e7a
mov eax, dword [ebp - 0x31c]
mov al, byte [eax + 2]
cmp al, byte [esi + 2]
jne 0x406e73
cmp edx, 0xffffffff
je 0x406e7a
mov eax, dword [ebp - 0x31c]
mov edx, esi
mov al, byte [eax + 3]
cmp al, byte [edx + 3]
je 0x406e7a
sbb eax, eax
or eax, 1
jmp 0x406e7c
xor eax, eax
test eax, eax
jne 0x4058dc
jmp 0x4061f8
push 0x80000
call fcn.00466b42
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
je 0x406efc
push 0x80000
push 0xffffffffffffffff
push eax
call fcn.0045e8a0
add esp, 0xc
lea ecx, [ebp - 0x2fc]
push dword [ebp - 0x18]
push 0x100
push 0x100
call fcn.00433f10
push dword [ebp - 0x18]
test al, al
je 0x406ef4
mov dword [ebp - 0x2f8], 0x100
mov dword [ebp - 0x2f4], 0x100
mov dword [ebp - 0x2f0], 0x3b800000
mov dword [ebp - 0x2ec], 0x3b800000
call fcn.0046660e
add esp, 4
mov ecx, dword [edi + 0x74]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x70]
imul ecx
xor ecx, ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 0x30
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2dc], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00466b42
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x318], edx
test eax, eax
je 0x406f87
xor ecx, ecx
mov esi, eax
nop dword [eax + eax]
mov eax, dword [edi + 0x70]
lea ecx, [ecx + 0x30]
movups xmm0, xmmword [eax + ecx - 0x30]
movups xmmword [edx + ecx - 0x30], xmm0
movups xmm0, xmmword [eax + ecx - 0x20]
movups xmmword [edx + ecx - 0x20], xmm0
movups xmm0, xmmword [eax + ecx - 0x10]
movups xmmword [edx + ecx - 0x10], xmm0
sub esi, 1
je 0x406f81
mov edx, dword [ebp - 0x318]
jmp 0x406f50
mov esi, dword [ebp - 0x33c]
push 0x2c
call fcn.0043542f
mov ecx, eax
add esp, 4
mov dword [ebp - 0x334], ecx
push 0x2c
push 0
push ecx
call fcn.0045e8a0
mov ecx, dword [ebp - 0x334]
add esp, 0xc
mov eax, dword [ebp - 0x318]
mov dword [ebp - 0x348], eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
xorps xmm0, xmm0
mov dword [ecx], vtable.Clb184::CVertexBuffer.0
movq qword [ecx + 0x18], xmm0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x20], 0
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0x18
mov edx, dword [ecx + 0x14]
test edx, edx
je 0x40700b
mov dword [ecx + 0x14], 0
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x334]
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x18]
push 0
push 0
mov dword [ecx + 0xc], 0
lea eax, [eax + eax*2]
mov byte [ecx + 5], 0
shl eax, 4
push eax
push dword [ebp - 0x348]
call fcn.004237a0
mov ecx, dword [ebp - 0x334]
mov byte [ebp - 4], 0x14
mov byte [ecx + 4], al
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x2d8], ecx
mov dword [ecx + 0x28], 0x30
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
cmp ecx, dword [eax + 8]
je 0x4070a8
mov eax, dword [ebp - 0x318]
mov dword [ecx], eax
lea eax, [ebp - 0x314]
add ecx, 4
push eax
call fcn.0040a5d0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ecx + 0x1c]
call fcn.0040b5a0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2dc]
mov dword [ecx + 0x3c], eax
mov eax, dword [ebp - 0x2d8]
mov dword [ecx + 0x40], eax
mov eax, dword [ebp - 0x338]
add dword [eax + 4], 0x44
jmp 0x4070b7
lea edx, [ebp - 0x318]
push edx
push ecx
mov ecx, eax
call fcn.0040d810
lea ecx, [ebp - 0x318]
call fcn.00407ab0
mov eax, dword [ebp - 0x344]
add esi, 0xa8
add edi, 0xa8
mov dword [ebp - 0x33c], esi
cmp esi, dword [eax]
jne 0x405a30
mov ecx, dword [ebp - 0x80]
add eax, 0x24
mov dword [ebp - 0x344], eax
add eax, 0xffffffe4
cmp eax, ecx
mov eax, dword [ebp - 0x344]
jne 0x405a10
mov dword [ebp - 0x118], vtable.Clb184::CTexture.0
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0xfc]
test ecx, ecx
je 0x407127
mov dword [ebp - 0xfc], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x100]
test ecx, ecx
je 0x407145
mov dword [ebp - 0x100], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0x84]
call fcn.00409f60
mov ecx, dword [ebp - 0x88]
cmp ecx, 0xf
jbe 0x40718a
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407180
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072b9
push ecx
push edx
call fcn.00435574
add esp, 8
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
call fcn.0040a740
mov ecx, dword [ebp - 0xe4]
cmp ecx, 0xf
jbe 0x4071ea
mov edx, dword [ebp - 0xf8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4071e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072b9
push ecx
push edx
call fcn.00435574
add esp, 8
lea ecx, [ebp - 0x184]
call fcn.0040a7d0
lea ecx, [ebp - 0x208]
call fcn.004076b0
mov ecx, dword [ebp - 0x20c]
cmp ecx, 0xf
jbe 0x40723a
mov edx, dword [ebp - 0x220]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407230
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072b9
push ecx
push edx
call fcn.00435574
add esp, 8
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x20c], 0xf
mov byte [ebp - 0x220], 0
call fcn.0040a7d0
lea ecx, [ebp - 0x2d0]
call fcn.004076b0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x40729b
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407291
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072b9
push ecx
push edx
call fcn.00435574
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00435413
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00466af1
int3