Function at 0x100159c0
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 0x10095a25
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x1a8
mov byte [ebp - 0x45], cl
mov ecx, dword [0x100c1974]
push esi
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x100c1998]
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 0x10015c92
mov ecx, dword [0x100c1974]
lea eax, [ebp - 0x1b8]
push eax
push esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
call edx
test al, al
je 0x10015c92
cmp byte [ebp - 0x45], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100c0e8c]
je 0x10015e90
mov edi, dword [eax + ecx*4]
mov eax, dword [0x100c1dc8]
cmp eax, dword [edi + 4]
jle 0x10015bad
push 0x100c1dc8
call fcn.1006cd15
add esp, 4
cmp dword [0x100c1dc8], 0xffffffff
jne 0x10015bad
mov dword [ebp - 4], 0
call fcn.10005720
mov ecx, dword [0x100a6c9c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
mov esi, eax
mov ax, word [0x100a6ca0]
movq xmm0, qword [str.m_hMyWearables]
mov dword [ebp - 0x34], 0xe
mov dword [ebp - 0x30], 0xf
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], ecx
mov word [ebp - 0x38], ax
mov byte [ebp - 0x36], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 1
push 0x20
movups xmmword [ebp - 0x2c], xmm0
call fcn.1006cd79
movups xmm0, xmmword [str.DT_BaseCombatCharacter]
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], 0x16
movups xmmword [eax], xmm0
mov ecx, dword [0x100a109c]
mov dword [eax + 0x10], ecx
mov cx, word [0x100a10a0]
mov word [eax + 0x14], cx
mov dword [ebp - 0x18], 0x1f
mov byte [eax + 0x16], 0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.1006b4b0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
mov dword [0x100c1dcc], eax
cmp ecx, 0xf
jbe 0x10015b61
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10015b57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016747
push ecx
push edx
call fcn.1006d0c3
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x10015b99
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10015b8f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016747
push ecx
push edx
call fcn.1006d0c3
add esp, 8
push 0x100c1dc8
mov dword [ebp - 4], 0xffffffff
call fcn.1006ccc4
add esp, 4
mov eax, dword [0x100c1dcc]
mov ecx, dword [ebp - 0x54]
add eax, ecx
mov dword [ebp - 0x58], eax
call fcn.10003380
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, 0x100c4fb4
call fcn.10016970
mov ecx, dword [0x100c552c]
mov dword [ebp - 0x4c], eax
cmp ecx, dword [edi + 4]
jle 0x10015c1c
push 0x100c552c
call fcn.1006cd15
add esp, 4
cmp dword [0x100c552c], 0xffffffff
jne 0x10015c1c
push 0x100c552c
mov dword [0x100c5538], 0
call fcn.1006ccc4
add esp, 4
mov ecx, dword [0x100c1998]
push ecx
mov edx, esp
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov dword [edx], eax
call esi
mov edi, eax
test edi, edi
jne 0x10015c61
mov ecx, dword [0x100c1998]
push ecx
mov edx, esp
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
mov eax, dword [0x100c5538]
mov dword [edx], eax
call esi
test eax, eax
je 0x10015c61
mov edx, dword [ebp - 0x58]
mov edi, eax
mov ecx, dword [0x100c5538]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x54]
call fcn.10008a60
cmp dword [eax], 0
je 0x10015ca5
test edi, edi
je 0x10015c92
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 - 0x4c]
test eax, eax
je 0x10016088
cmp dword [eax + 0x3c], 0
je 0x10016088
test edi, edi
jne 0x10015e6a
mov edx, dword fs:[0x2c]
mov esi, dword [0x100c0e8c]
mov eax, dword [0x100c5530]
mov ecx, dword [edx + esi*4]
cmp eax, dword [ecx + 4]
jle 0x10015da4
push 0x100c5530
call fcn.1006cd15
add esp, 4
cmp dword [0x100c5530], 0xffffffff
jne 0x10015da4
mov dword [ebp - 4], 3
mov ecx, dword [0x100c1d88]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov esi, eax
mov edx, str.CEconWearable
mov ecx, dword [esi + 8]
nop dword [eax + eax]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10015d40
test al, al
je 0x10015d3c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10015d40
add ecx, 2
add edx, 2
test al, al
jne 0x10015d20
xor eax, eax
jmp 0x10015d45
sbb eax, eax
or eax, 1
test eax, eax
je 0x10015d89
nop dword [eax]
mov esi, dword [esi + 0x10]
mov ecx, str.CEconWearable
mov eax, dword [esi + 8]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10015d80
test dl, dl
je 0x10015d7c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10015d80
add eax, 2
add ecx, 2
test dl, dl
jne 0x10015d60
xor eax, eax
jmp 0x10015d85
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10015d50
mov eax, dword [esi]
push 0x100c5530
mov dword [0x100c553c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1006ccc4
add esp, 4
mov ecx, dword [0x100c1998]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
lea edi, [eax + 1]
mov dword [ebp - 0x14], edi
call fcn.1007445b
mov esi, eax
and esi, 0x80000fff
jns 0x10015dce
dec esi
or esi, 0xfffff000
inc esi
push esi
push edi
mov dword [ebp - 0x50], esi
call dword [0x100c553c]
mov ecx, dword [0x100c1998]
add esp, 8
mov edx, dword [ecx]
push edi
mov edx, dword [edx + 0xc]
call edx
mov esi, dword [0x100c0e8c]
mov edi, eax
mov edx, dword fs:[0x2c]
mov eax, dword [0x100c5534]
mov ecx, dword [edx + esi*4]
mov esi, dword [ebp - 0x50]
cmp eax, dword [ecx + 4]
jle 0x10015e4c
push 0x100c5534
call fcn.1006cd15
add esp, 4
cmp dword [0x100c5534], 0xffffffff
jne 0x10015e4c
mov edx, str.55_8B_EC_83_E4_F8_51_53_56_57_8B_F1_E8
mov dword [ebp - 4], 4
call fcn.10023c30
push 0x100c5534
mov dword [0x100c5540], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1006ccc4
add esp, 4
push 0x100a6d00
mov ecx, edi
call dword [0x100c5540]
mov eax, dword [ebp - 0x58]
shl esi, 0x10
or esi, dword [ebp - 0x14]
mov dword [eax], esi
mov dword [0x100c5538], esi
mov eax, dword [edi]
mov ecx, edi
push 0xffffffffffffffff
mov eax, dword [eax + 0x12c]
call eax
push dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x4c]
mov ecx, edi
call fcn.10014b60
add esp, 4
jmp 0x10016088
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x100c1de0]
cmp eax, dword [ecx + 4]
jle 0x10015fdf
push 0x100c1de0
call fcn.1006cd15
add esp, 4
cmp dword [0x100c1de0], 0xffffffff
jne 0x10015fdf
mov dword [ebp - 4], 5
call fcn.10005720
mov ecx, dword [0x100a6c8c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov esi, eax
mov dword [ebp - 0x1c], 0xc
movq xmm0, qword [str.m_hMyWeapons]
mov dword [ebp - 0x18], 0xf
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], ecx
mov byte [ebp - 0x20], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 6
push 0x20
movups xmmword [ebp - 0x44], xmm0
call fcn.1006cd79
movups xmm0, xmmword [str.DT_BaseCombatCharacter]
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], 0x16
movups xmmword [eax], xmm0
mov ecx, dword [0x100a109c]
mov dword [eax + 0x10], ecx
mov cx, word [0x100a10a0]
mov word [eax + 0x14], cx
mov dword [ebp - 0x30], 0x1f
mov byte [eax + 0x16], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.1006b4b0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x30]
mov dword [0x100c1d90], eax
cmp ecx, 0xf
jbe 0x10015f93
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10015f89
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001674c
push ecx
push edx
call fcn.1006d0c3
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10015fcb
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10015fc1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001674c
push ecx
push edx
call fcn.1006d0c3
add esp, 8
push 0x100c1de0
mov dword [ebp - 4], 0xffffffff
call fcn.1006ccc4
add esp, 4
mov eax, dword [0x100c1d90]
add eax, edi
xor edi, edi
mov dword [ebp - 0x50], eax
mov esi, dword [eax]
cmp esi, 0xffffffff
je 0x10016088
mov ecx, dword [0x100c1998]
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 0x10016078
mov ecx, esi
call fcn.100031b0
mov ecx, 0x1f4
movzx eax, word [eax]
cmp ax, cx
jl 0x1001602c
mov ecx, 0x13a3
cmp ax, cx
jl 0x1001603d
cmp ax, 0x3b
je 0x1001603d
cmp ax, 0x2a
je 0x1001603d
movsx ecx, ax
jmp 0x10016055
mov ecx, dword [ebp - 0x54]
call fcn.10003380
mov ecx, 0x3b
cmp dword [eax], 3
mov eax, 0x2a
cmove ecx, eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push eax
mov ecx, 0x100c4fb4
call fcn.10016970
push dword [ebp - 0x1b0]
mov edx, eax
mov ecx, esi
call fcn.10014b60
add esp, 4
mov eax, dword [ebp - 0x50]
inc edi
mov esi, dword [eax + edi*4]
cmp esi, 0xffffffff
jne 0x10015ff6
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100c0e8c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x100c1d98]
cmp eax, dword [ecx + 4]
jle 0x100161e3
push 0x100c1d98
call fcn.1006cd15
add esp, 4
cmp dword [0x100c1d98], 0xffffffff
jne 0x100161e3
mov dword [ebp - 4], 8
call fcn.10005720
mov ecx, dword [0x100a6c68]
mov edx, eax
mov ax, word [0x100a6c6c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x38], ax
movq xmm0, qword [str.m_hViewModel_0_]
mov al, byte [0x100a6c6e]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x30], 0xf
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 0x36], al
mov byte [ebp - 0x35], 0
mov eax, dword [0x100a11d0]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
movq xmm0, qword [str.DT_BasePlayer]
mov al, byte [0x100a11d4]
mov dword [ebp - 0x1c], 0xd
mov dword [ebp - 0x18], 0xf
movq qword [ebp - 0x2c], xmm0
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], 0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x2c]
mov ecx, edx
push eax
call fcn.1006b4b0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x18]
mov dword [0x100c1da4], eax
cmp ecx, 0xf
jbe 0x10016197
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001618d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016751
push ecx
push edx
call fcn.1006d0c3
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x100161cf
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100161c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016751
push ecx
push edx
call fcn.1006d0c3
add esp, 8
push 0x100c1d98
mov dword [ebp - 4], 0xffffffff
call fcn.1006ccc4
add esp, 4
mov eax, dword [0x100c1da4]
mov ecx, dword [ebp - 0x54]
mov eax, dword [eax + ecx]
cmp eax, 0xffffffff
je 0x10015c92
mov ecx, dword [0x100c1998]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov dword [ebp - 0x50], eax
test eax, eax
je 0x10015c92
mov ecx, eax
call fcn.100140f0
mov edx, dword [eax]
cmp edx, 0xffffffff
je 0x10015c92
mov ecx, dword [0x100c1998]
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 0x10015c92
mov ecx, edi
call fcn.100031b0
movsx esi, word [eax]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], esi
push eax
call fcn.1000c820
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
jne 0x10015c92
cmp esi, dword [eax + 0x10]
jb 0x10015c92
mov ecx, edi
call fcn.100031b0
movsx esi, word [eax]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], esi
push eax
call fcn.1000c820
mov edx, dword [ebp - 0x30]
cmp byte [edx + 0xd], 0
jne 0x1001673d
cmp esi, dword [edx + 0x10]
jb 0x1001673d
mov ecx, dword [0x100c1978]
push dword [edx + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov edx, dword fs:[0x2c]
mov esi, dword [0x100c0e8c]
mov ecx, dword [0x100c1d78]
mov dword [ebp - 0x4c], eax
mov eax, dword [edx + esi*4]
cmp ecx, dword [eax + 4]
jle 0x1001640c
push 0x100c1d78
call fcn.1006cd15
add esp, 4
cmp dword [0x100c1d78], 0xffffffff
jne 0x1001640c
mov dword [ebp - 4], 0xb
call fcn.10005720
mov ecx, dword [0x100a6be0]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov esi, eax
mov al, byte [0x100a6be4]
movq xmm0, qword [str.m_nModelIndex]
mov dword [ebp - 0x1c], 0xd
mov dword [ebp - 0x18], 0xf
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], ecx
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 0xc
push 0x20
movups xmmword [ebp - 0x44], xmm0
call fcn.1006cd79
movups xmm0, xmmword [str.DT_BaseViewModel]
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], 0x10
movups xmmword [eax], xmm0
mov dword [ebp - 0x30], 0x1f
mov byte [eax + 0x10], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.1006b4b0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x30]
mov dword [0x100c1dbc], eax
cmp ecx, 0xf
jbe 0x100163ba
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100163b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016756
push ecx
push edx
call fcn.1006d0c3
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x100163f2
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100163e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016756
push ecx
push edx
call fcn.1006d0c3
add esp, 8
push 0x100c1d78
mov dword [ebp - 4], 0xffffffff
call fcn.1006ccc4
mov esi, dword [0x100c0e8c]
add esp, 4
mov eax, dword [0x100c1dbc]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
mov dword [eax + ecx], edx
mov edx, dword fs:[0x2c]
mov eax, dword [0x100c1d84]
mov ecx, dword [edx + esi*4]
cmp eax, dword [ecx + 4]
jle 0x10016595
push 0x100c1d84
call fcn.1006cd15
add esp, 4
cmp dword [0x100c1d84], 0xffffffff
jne 0x10016595
mov dword [ebp - 4], 0xe
call fcn.10005720
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push 0x20
mov esi, eax
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
call fcn.1006cd79
movups xmm0, xmmword [str.m_hWeaponWorldModel]
mov dword [ebp - 0x2c], eax
add esp, 4
mov dword [ebp - 0x1c], 0x13
mov dword [ebp - 0x18], 0x1f
movups xmmword [eax], xmm0
movzx ecx, word [0x100a6c5c]
mov word [eax + 0x10], cx
movzx ecx, byte [0x100a6c5e]
mov byte [eax + 0x12], cl
mov byte [eax + 0x13], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 0xf
push 0x20
movups xmmword [ebp - 0x44], xmm0
call fcn.1006cd79
movups xmm0, xmmword [str.DT_BaseCombatWeapon]
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], 0x13
movups xmmword [eax], xmm0
movzx ecx, word [0x100a11a4]
mov word [eax + 0x10], cx
movzx ecx, byte [0x100a11a6]
mov byte [eax + 0x12], cl
mov dword [ebp - 0x30], 0x1f
mov byte [eax + 0x13], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.1006b4b0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x30]
mov dword [0x100c1d60], eax
cmp ecx, 0xf
jbe 0x10016549
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001653f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001675b
push ecx
push edx
call fcn.1006d0c3
add esp, 8
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10016581
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10016577
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001675b
push ecx
push edx
call fcn.1006d0c3
add esp, 8
push 0x100c1d84
mov dword [ebp - 4], 0xffffffff
call fcn.1006ccc4
add esp, 4
mov eax, dword [0x100c1d60]
mov eax, dword [eax + edi]
cmp eax, 0xffffffff
je 0x10015c92
mov ecx, dword [0x100c1998]
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 0x10015c92
mov edx, dword fs:[0x2c]
mov esi, dword [0x100c0e8c]
mov ecx, dword [0x100c1d9c]
mov eax, dword [edx + esi*4]
cmp ecx, dword [eax + 4]
jle 0x1001671e
push 0x100c1d9c
call fcn.1006cd15
add esp, 4
cmp dword [0x100c1d9c], 0xffffffff
jne 0x1001671e
mov dword [ebp - 4], 0x11
call fcn.10005720
mov ecx, dword [0x100a6be0]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov esi, eax
mov al, byte [0x100a6be4]
movq xmm0, qword [str.m_nModelIndex]
mov dword [ebp - 0x1c], 0xd
mov dword [ebp - 0x18], 0xf
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], ecx
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x12
push 0x20
movups xmmword [ebp - 0x44], xmm0
call fcn.1006cd79
movups xmm0, xmmword [str.DT_BaseWeaponWorldModel]
mov edx, eax
mov dword [ebp - 0x34], 0x17
add esp, 4
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x30], 0x1f
movups xmmword [edx], xmm0
mov ecx, dword [0x100a6c44]
mov dword [edx + 0x10], ecx
mov cx, word [0x100a6c48]
mov word [edx + 0x14], cx
mov al, byte [0x100a6c4a]
mov byte [edx + 0x16], al
mov byte [edx + 0x17], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.1006b4b0
mov ecx, dword [ebp - 0x30]
mov dword [0x100c1dc4], eax
cmp ecx, 0xf
jbe 0x100166e1
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100166d7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016760
push ecx
push edx
call fcn.1006d0c3
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10016711
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10016707
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016760
push ecx
push edx
call fcn.1006d0c3
add esp, 8
push 0x100c1d9c
call fcn.1006ccc4
add esp, 4
mov eax, dword [0x100c1dc4]
mov ecx, dword [ebp - 0x4c]
inc ecx
mov dword [edi + eax], 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.1006ba38
call fcn.10072452
call fcn.10072452
call fcn.10072452
call fcn.10072452
call fcn.10072452
call fcn.10072452
int3