Function at 0x10036600
Capabilities:
Access peb ldr_data

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 0x10121635
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x1c0
mov byte [ebp - 0x31], cl
mov ecx, dword [0x10167e4c]
push esi
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x101682a0]
mov esi, eax
push esi
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov edi, eax
mov dword [ebp - 0x54], edi
test edi, edi
je 0x100368ef
mov ecx, dword [0x10167e4c]
lea eax, [ebp - 0x1d0]
push eax
push esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
call edx
test al, al
je 0x100368ef
cmp byte [ebp - 0x31], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1016766c]
mov ecx, dword [eax + ecx*4]
je 0x10036ae5
mov eax, dword [0x101692c0]
cmp eax, dword [ecx + 4]
jle 0x100367fc
push 0x101692c0
call fcn.100f5255
add esp, 4
cmp dword [0x101692c0], 0xffffffff
jne 0x100367fc
mov dword [ebp - 4], 0
call fcn.10004610
mov ecx, dword [0x1014d7d8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
mov esi, eax
movzx eax, word [0x1014d7dc]
movq xmm0, qword [str.m_hMyWearables]
mov dword [ebp - 0x20], 0xe
mov dword [ebp - 0x1c], 0xf
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], ecx
mov word [ebp - 0x24], ax
mov byte [ebp - 0x22], 0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x50], 0x1f
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x4c], xmm0
call fcn.10004b80
movups xmm0, xmmword [str.DT_BaseCombatCharacter]
mov ecx, dword [ebp - 0x50]
mov edx, eax
mov dword [ebp - 0x38], ecx
add esp, 8
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x3c], 0x16
movups xmmword [edx], xmm0
mov ecx, dword [0x10145f5c]
mov dword [edx + 0x10], ecx
movzx eax, word [0x10145f60]
mov word [edx + 0x14], ax
mov byte [edx + 0x16], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.100958b0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x38]
mov dword [0x101692c8], eax
cmp ecx, 0xf
jbe 0x100367b0
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100367a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003741a
push ecx
push edx
call fcn.100f5603
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x100367e8
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100367de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003741a
push ecx
push edx
call fcn.100f5603
add esp, 8
push 0x101692c0
mov dword [ebp - 4], 0xffffffff
call fcn.100f5204
add esp, 4
mov eax, dword [0x101692c8]
mov ecx, edi
add eax, edi
mov dword [ebp - 0x50], eax
call fcn.10004d80
xor ecx, ecx
cmp dword [eax], 3
lea eax, [ebp - 0x5c]
push eax
sete cl
add ecx, 0x13a4
mov dword [ebp - 0x5c], ecx
mov ecx, 0x101685ac
call fcn.10037680
mov edx, dword fs:[0x2c]
mov esi, dword [0x1016766c]
mov ecx, dword [0x1016c0d0]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + esi*4]
cmp ecx, dword [eax + 4]
jle 0x1003687a
push 0x1016c0d0
call fcn.100f5255
add esp, 4
cmp dword [0x1016c0d0], 0xffffffff
jne 0x1003687a
push 0x1016c0d0
mov dword [0x1016c0dc], 0
call fcn.100f5204
add esp, 4
mov ecx, dword [0x101682a0]
push ecx
mov edx, esp
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov dword [edx], eax
call esi
mov edi, eax
test edi, edi
jne 0x100368bf
mov ecx, dword [0x101682a0]
push ecx
mov edx, esp
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
mov eax, dword [0x1016c0dc]
mov dword [edx], eax
call esi
test eax, eax
je 0x100368bf
mov edx, dword [ebp - 0x50]
mov edi, eax
mov ecx, dword [0x1016c0dc]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x54]
call fcn.10093ba0
test al, al
jne 0x10036902
test edi, edi
je 0x100368ef
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x34]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10036cde
cmp dword [eax + 0x38], 0
je 0x10036cde
test edi, edi
jne 0x10036abf
mov edx, dword fs:[0x2c]
mov esi, dword [0x1016766c]
mov eax, dword [0x1016c0d4]
mov ecx, dword [edx + esi*4]
cmp eax, dword [ecx + 4]
jle 0x100369f4
push 0x1016c0d4
call fcn.100f5255
add esp, 4
cmp dword [0x1016c0d4], 0xffffffff
jne 0x100369f4
mov dword [ebp - 4], 3
mov ecx, dword [0x10168ff0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov esi, eax
mov edx, str.CEconWearable
mov ecx, dword [esi + 8]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10036998
test al, al
je 0x10036994
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10036998
add ecx, 2
add edx, 2
test al, al
jne 0x10036978
xor eax, eax
jmp 0x1003699d
sbb eax, eax
or eax, 1
test eax, eax
je 0x100369d9
mov esi, dword [esi + 0x10]
mov ecx, str.CEconWearable
mov eax, dword [esi + 8]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100369d0
test dl, dl
je 0x100369cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100369d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100369b0
xor eax, eax
jmp 0x100369d5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100369a1
mov eax, dword [esi]
push 0x1016c0d4
mov dword [0x1016c0e0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100f5204
add esp, 4
mov ecx, dword [0x101682a0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
lea edi, [eax + 1]
mov dword [ebp - 0x18], edi
call fcn.10105411
mov esi, eax
and esi, 0x80000fff
jns 0x10036a1e
dec esi
or esi, 0xfffff000
inc esi
push esi
push edi
mov dword [ebp - 0x58], esi
call dword [0x1016c0e0]
mov ecx, dword [0x101682a0]
add esp, 8
mov edx, dword [ecx]
push edi
mov edx, dword [edx + 0xc]
call edx
mov esi, dword [0x1016766c]
mov edi, eax
mov edx, dword fs:[0x2c]
mov eax, dword [0x1016c0d8]
mov ecx, dword [edx + esi*4]
mov esi, dword [ebp - 0x58]
cmp eax, dword [ecx + 4]
jle 0x10036aa1
push 0x1016c0d8
call fcn.100f5255
add esp, 4
cmp dword [0x1016c0d8], 0xffffffff
jne 0x10036aa1
mov edx, str.55_8B_EC_83_E4_F8_51_53_56_57_8B_F1_E8
mov dword [ebp - 4], 4
mov ecx, 0x10145f64
call fcn.10088270
push 0x1016c0d8
mov dword [0x1016c0e4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100f5204
add esp, 4
push 0x1014d844
mov ecx, edi
call dword [0x1016c0e4]
mov eax, dword [ebp - 0x50]
shl esi, 0x10
or esi, dword [ebp - 0x18]
mov dword [eax], esi
mov dword [0x1016c0dc], esi
mov eax, dword [edi]
mov ecx, edi
push 0xffffffffffffffff
mov eax, dword [eax + 0x12c]
call eax
push dword [ebp - 0x1c8]
mov edx, dword [ebp - 0x14]
mov ecx, edi
call fcn.100356f0
add esp, 4
jmp 0x10036cde
mov eax, dword [0x101692dc]
cmp eax, dword [ecx + 4]
jle 0x10036c3e
push 0x101692dc
call fcn.100f5255
add esp, 4
cmp dword [0x101692dc], 0xffffffff
jne 0x10036c3e
mov dword [ebp - 4], 5
call fcn.10004610
mov ecx, dword [0x1014d7c8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
mov esi, eax
mov dword [ebp - 0x20], 0xc
movq xmm0, qword [str.m_hMyWeapons]
mov dword [ebp - 0x1c], 0xf
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], ecx
mov byte [ebp - 0x24], 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x14], 0x1f
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x4c], xmm0
call fcn.10004b80
movups xmm0, xmmword [str.DT_BaseCombatCharacter]
mov ecx, dword [ebp - 0x14]
mov edx, eax
mov dword [ebp - 0x38], ecx
add esp, 8
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x3c], 0x16
movups xmmword [edx], xmm0
mov ecx, dword [0x10145f5c]
mov dword [edx + 0x10], ecx
mov ax, word [0x10145f60]
mov word [edx + 0x14], ax
mov byte [edx + 0x16], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.100958b0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x38]
mov dword [0x10169288], eax
cmp ecx, 0xf
jbe 0x10036bf2
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036be8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003741f
push ecx
push edx
call fcn.100f5603
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x10036c2a
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036c20
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003741f
push ecx
push edx
call fcn.100f5603
add esp, 8
push 0x101692dc
mov dword [ebp - 4], 0xffffffff
call fcn.100f5204
add esp, 4
mov eax, dword [0x10169288]
add eax, edi
xor edi, edi
mov dword [ebp - 0x58], eax
mov esi, dword [eax]
cmp esi, 0xffffffff
je 0x10036cde
mov ecx, dword [0x101682a0]
push ecx
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov eax, esp
mov dword [eax], esi
call edx
mov esi, eax
test esi, esi
je 0x10036cce
mov ecx, esi
call fcn.100348c0
mov ecx, 0x1f4
movzx eax, word [eax]
cmp ax, cx
jl 0x10036e1d
mov ecx, 0x13a3
cmp ax, cx
jge 0x10036e31
mov ecx, dword [ebp - 0x54]
call fcn.10004d80
mov ecx, 0x3b
cmp dword [eax], 3
mov eax, 0x2a
cmove ecx, eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ecx
push eax
mov ecx, 0x101685ac
call fcn.10037680
push dword [ebp - 0x1c8]
mov edx, eax
mov ecx, esi
call fcn.100356f0
add esp, 4
mov eax, dword [ebp - 0x58]
inc edi
mov esi, dword [eax + edi*4]
cmp esi, 0xffffffff
jne 0x10036c55
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1016766c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10169290]
cmp eax, dword [ecx + 4]
jle 0x10036e57
push 0x10169290
call fcn.100f5255
add esp, 4
cmp dword [0x10169290], 0xffffffff
jne 0x10036e57
mov dword [ebp - 4], 8
call fcn.10004610
mov ecx, dword [0x1014d7a4]
mov edx, eax
mov ax, word [0x1014d7a8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
mov word [ebp - 0x24], ax
movq xmm0, qword [str.m_hViewModel_0_]
mov al, byte [0x1014d7aa]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x1c], 0xf
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], ecx
mov byte [ebp - 0x22], al
mov byte [ebp - 0x21], 0
mov eax, dword [0x10145f24]
xorps xmm0, xmm0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x44], eax
movq xmm0, qword [str.DT_BasePlayer]
mov al, byte [0x10145f28]
mov dword [ebp - 0x3c], 0xd
mov dword [ebp - 0x38], 0xf
movq qword [ebp - 0x4c], xmm0
mov byte [ebp - 0x40], al
mov byte [ebp - 0x3f], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x4c]
mov ecx, edx
push eax
call fcn.100958b0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x38]
mov dword [0x1016929c], eax
cmp ecx, 0xf
jbe 0x10036ded
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036de3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037424
push ecx
push edx
call fcn.100f5603
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x10036e43
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036e39
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037424
jmp 0x10036e39
cmp ax, 0x3b
je 0x10036c93
cmp ax, 0x2a
je 0x10036c93
movsx ecx, ax
jmp 0x10036cab
push ecx
push edx
call fcn.100f5603
add esp, 8
push 0x10169290
mov dword [ebp - 4], 0xffffffff
call fcn.100f5204
add esp, 4
mov eax, dword [0x1016929c]
mov ecx, dword [ebp - 0x54]
mov eax, dword [eax + ecx]
cmp eax, 0xffffffff
je 0x100368ef
mov ecx, dword [0x101682a0]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov dword [ebp - 0x58], eax
test eax, eax
je 0x100368ef
mov ecx, eax
call fcn.10034c30
mov edx, dword [eax]
cmp edx, 0xffffffff
je 0x100368ef
mov ecx, dword [0x101682a0]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
mov eax, esp
mov dword [eax], edx
call esi
mov edi, eax
test edi, edi
je 0x100368ef
mov ecx, edi
call fcn.100348c0
movsx esi, word [eax]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x18], esi
push eax
call fcn.1002d980
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
jne 0x100368ef
cmp esi, dword [eax + 0x10]
jb 0x100368ef
mov ecx, edi
call fcn.100348c0
movsx esi, word [eax]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x18], esi
push eax
call fcn.1002d980
mov edx, dword [ebp - 0x60]
cmp byte [edx + 0xd], 0
jne 0x10037410
cmp esi, dword [edx + 0x10]
jb 0x10037410
mov ecx, dword [0x10168f38]
push dword [edx + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [0x1016766c]
mov dword [ebp - 0x54], eax
mov eax, dword fs:[0x2c]
mov edx, dword [eax + ecx*4]
mov ecx, dword [0x10169278]
cmp ecx, dword [edx + 4]
jle 0x10037097
push 0x10169278
call fcn.100f5255
add esp, 4
cmp dword [0x10169278], 0xffffffff
jne 0x10037097
mov dword [ebp - 4], 0xb
call fcn.10004610
mov ecx, dword [0x1014d730]
xorps xmm0, xmm0
movups xmmword [ebp - 0x74], xmm0
mov esi, eax
mov al, byte [0x1014d734]
movq xmm0, qword [str.m_nModelIndex]
mov dword [ebp - 0x64], 0xd
mov dword [ebp - 0x60], 0xf
movq qword [ebp - 0x74], xmm0
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 0x68], al
mov byte [ebp - 0x67], 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x14], 0x1f
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x30], xmm0
call fcn.10004b80
movups xmm0, xmmword [str.DT_BaseViewModel]
mov ecx, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0x30], eax
movups xmmword [eax], xmm0
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], ecx
mov byte [eax + 0x10], 0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.100958b0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x1c]
mov dword [0x101692b4], eax
cmp ecx, 0xf
jbe 0x10037039
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003702f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037429
push ecx
push edx
call fcn.100f5603
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x10037071
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037067
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037429
push ecx
push edx
call fcn.100f5603
add esp, 8
push 0x10169278
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov dword [ebp - 4], 0xffffffff
call fcn.100f5204
add esp, 4
mov eax, dword [0x101692b4]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov dword [eax + ecx], edx
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1016766c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10169280]
cmp eax, dword [ecx + 4]
jle 0x1003724c
push 0x10169280
call fcn.100f5255
add esp, 4
cmp dword [0x10169280], 0xffffffff
jne 0x1003724c
mov dword [ebp - 4], 0xe
call fcn.10004610
mov esi, eax
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x38], 0
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x14], 0x1f
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x4c], xmm0
call fcn.10004b80
movups xmm0, xmmword [str.m_hWeaponWorldModel]
mov ecx, dword [ebp - 0x14]
mov edx, eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x3c], 0x13
movups xmmword [edx], xmm0
movzx ecx, word [0x1014d798]
mov word [edx + 0x10], cx
mov al, byte [0x1014d79a]
mov byte [edx + 0x12], al
mov byte [edx + 0x13], 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x14], 0x1f
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x30], xmm0
call fcn.10004b80
movups xmm0, xmmword [str.DT_BaseCombatWeapon]
mov ecx, dword [ebp - 0x14]
mov edx, eax
mov dword [ebp - 0x1c], ecx
add esp, 0x10
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x20], 0x13
movups xmmword [edx], xmm0
movzx ecx, word [0x10147650]
mov word [edx + 0x10], cx
mov al, byte [0x10147652]
mov byte [edx + 0x12], al
mov byte [edx + 0x13], 0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.100958b0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x1c]
mov dword [0x10169260], eax
cmp ecx, 0xf
jbe 0x100371ee
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100371e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003742e
push ecx
push edx
call fcn.100f5603
add esp, 8
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x10037226
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003721c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003742e
push ecx
push edx
call fcn.100f5603
add esp, 8
push 0x10169280
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov dword [ebp - 4], 0xffffffff
call fcn.100f5204
add esp, 4
mov eax, dword [0x10169260]
mov eax, dword [eax + edi]
cmp eax, 0xffffffff
je 0x100368ef
mov ecx, dword [0x101682a0]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov edi, eax
test edi, edi
je 0x100368ef
mov ecx, dword [0x1016766c]
mov eax, dword fs:[0x2c]
mov edx, dword [eax + ecx*4]
mov ecx, dword [0x10169294]
cmp ecx, dword [edx + 4]
jle 0x100373f1
push 0x10169294
call fcn.100f5255
add esp, 4
cmp dword [0x10169294], 0xffffffff
jne 0x100373f1
mov dword [ebp - 4], 0x11
call fcn.10004610
mov ecx, dword [0x1014d730]
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
mov esi, eax
mov al, byte [0x1014d734]
movq xmm0, qword [str.m_nModelIndex]
mov dword [ebp - 0x20], 0xd
mov dword [ebp - 0x1c], 0xf
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], ecx
mov byte [ebp - 0x24], al
mov byte [ebp - 0x23], 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x14], 0x1f
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x4c], xmm0
call fcn.10004b80
movups xmm0, xmmword [str.DT_BaseWeaponWorldModel]
mov ecx, dword [ebp - 0x14]
mov edx, eax
mov dword [ebp - 0x38], ecx
add esp, 8
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x3c], 0x17
movups xmmword [edx], xmm0
mov ecx, dword [0x1014d780]
mov dword [edx + 0x10], ecx
mov ax, word [0x1014d784]
mov word [edx + 0x14], ax
mov al, byte [0x1014d786]
mov byte [edx + 0x16], al
mov byte [edx + 0x17], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.100958b0
mov ecx, dword [ebp - 0x38]
mov dword [0x101692bc], eax
cmp ecx, 0xf
jbe 0x100373a2
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037398
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037433
push ecx
push edx
call fcn.100f5603
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x100373d2
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100373c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037433
push ecx
push edx
call fcn.100f5603
add esp, 8
push 0x10169294
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.100f5204
add esp, 4
mov eax, dword [0x101692bc]
mov ecx, dword [ebp - 0x54]
inc ecx
mov dword [eax + edi], ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.invalid_map_K__T__key
call fcn.100f3b1a
call fcn.100fac9a
call fcn.100fac9a
call fcn.100fac9a
call fcn.100fac9a
call fcn.100fac9a
call fcn.100fac9a
int3