Function at 0x10017f30
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 0x10076ab5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x1c0
mov byte [ebp - 0x45], cl
mov ecx, dword [0x10145450]
push esi
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x10145464]
mov esi, eax
push esi
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov edi, eax
mov dword [ebp - 0x58], edi
test edi, edi
je 0x10018208
mov ecx, dword [0x10145450]
lea eax, [ebp - 0x1d0]
push eax
push esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
call edx
test al, al
je 0x10018208
cmp byte [ebp - 0x45], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1011f470]
je 0x1001852e
mov edi, dword [eax + ecx*4]
mov eax, dword [0x101459d8]
cmp eax, dword [edi + 4]
jle 0x1001811b
push 0x101459d8
call fcn.10073f08
add esp, 4
cmp dword [0x101459d8], 0xffffffff
jne 0x1001811b
mov dword [ebp - 4], 0
call fcn.10005750
mov ecx, dword [0x100d6884]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov esi, eax
mov ax, word [0x100d6888]
movq xmm0, qword [str.m_hMyWearables]
mov dword [ebp - 0x1c], 0xe
mov dword [ebp - 0x18], 0xf
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], ecx
mov word [ebp - 0x20], ax
mov byte [ebp - 0x1e], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 1
push 0x20
movups xmmword [ebp - 0x44], xmm0
call fcn.10073e4e
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 [0x1007a730]
mov dword [eax + 0x10], ecx
mov cx, word [0x1007a734]
mov word [eax + 0x14], cx
mov dword [ebp - 0x30], 0x1f
mov byte [eax + 0x16], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.10073a10
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
mov dword [0x101459dc], eax
cmp ecx, 0xf
jbe 0x100180cd
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100180c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100180f7
push ecx
push edx
call fcn.10073e7e
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10018107
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100180fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100180fd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10073e7e
add esp, 8
push 0x101459d8
mov dword [ebp - 4], 0xffffffff
call fcn.10073eb7
add esp, 4
mov eax, dword [0x101459dc]
mov ecx, dword [ebp - 0x58]
add eax, ecx
mov dword [ebp - 0x68], eax
call fcn.10003cb0
xor ecx, ecx
cmp dword [eax], 3
lea eax, [ebp - 0x74]
push eax
sete cl
add ecx, 0x13a4
mov dword [ebp - 0x74], ecx
mov ecx, 0x10148b34
call fcn.10018fe0
mov ecx, dword [0x101491fc]
mov dword [ebp - 0x50], eax
cmp ecx, dword [edi + 4]
jle 0x1001818a
push 0x101491fc
call fcn.10073f08
add esp, 4
cmp dword [0x101491fc], 0xffffffff
jne 0x1001818a
push 0x101491fc
mov dword [0x10149208], 0
call fcn.10073eb7
add esp, 4
mov ecx, dword [0x10145464]
push ecx
mov edx, esp
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
mov dword [edx], eax
call esi
mov esi, eax
mov dword [ebp - 0x64], esi
test esi, esi
jne 0x100181d7
mov ecx, dword [0x10145464]
push ecx
mov edx, esp
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
mov eax, dword [0x10149208]
mov dword [edx], eax
call esi
test eax, eax
je 0x100181d4
mov edx, dword [ebp - 0x68]
mov esi, eax
mov ecx, dword [0x10149208]
mov dword [edx], ecx
jmp 0x100181d7
mov esi, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x58]
call fcn.100066c0
cmp dword [eax], 0
je 0x1001821b
test esi, esi
je 0x10018208
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x34]
mov eax, dword [esi]
mov ecx, esi
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 - 0x50]
test eax, eax
je 0x10018724
cmp dword [eax + 0x3c], 0
je 0x10018724
test esi, esi
jne 0x10018508
mov eax, dword [0x10149200]
cmp eax, dword [edi + 4]
jle 0x10018304
push 0x10149200
call fcn.10073f08
add esp, 4
cmp dword [0x10149200], 0xffffffff
jne 0x10018304
mov dword [ebp - 4], 3
mov ecx, dword [0x10145998]
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 0x100182a1
test al, al
je 0x1001829d
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100182a1
add ecx, 2
add edx, 2
test al, al
jne 0x10018281
xor eax, eax
jmp 0x100182a6
sbb eax, eax
or eax, 1
test eax, eax
je 0x100182e9
nop word [eax + 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 0x100182e0
test dl, dl
je 0x100182dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100182e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100182c0
xor eax, eax
jmp 0x100182e5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100182b0
mov eax, dword [esi]
push 0x10149200
mov dword [0x1014920c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10073eb7
add esp, 4
mov ecx, dword [0x10145464]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
lea esi, [eax + 1]
mov dword [ebp - 0x14], esi
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov edi, eax
and edi, 0x80000fff
jns 0x1001832f
dec edi
or edi, 0xfffff000
inc edi
push edi
push esi
mov dword [ebp - 0x70], edi
call dword [0x1014920c]
mov ecx, dword [0x10145464]
add esp, 8
mov edx, dword [ecx]
push esi
mov edx, dword [edx + 0xc]
call edx
mov edi, dword [0x1011f470]
mov esi, eax
mov edx, dword fs:[0x2c]
mov eax, dword [0x10149204]
mov dword [ebp - 0x64], esi
mov ecx, dword [edx + edi*4]
mov edi, dword [ebp - 0x70]
cmp eax, dword [ecx + 4]
jle 0x100184ea
push 0x10149204
call fcn.10073f08
add esp, 4
cmp dword [0x10149204], 0xffffffff
jne 0x100184ea
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x20]
mov esi, str.client.dll
push eax
mov dword [ebp - 0x4c], esi
call fcn.10025980
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
jne 0x100183c9
cmp dword [eax + 0x10], esi
ja 0x100183c9
lea eax, [ebp - 0x4c]
push eax
call fcn.10025790
cmp dword [eax], 0
jne 0x100183dd
mov esi, dword [ebp - 0x4c]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10025790
mov dword [eax], esi
lea eax, [ebp - 0x4c]
push eax
call fcn.10025790
mov ecx, dword [eax]
push ecx
mov dword [ebp - 0x6c], ecx
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + ecx + 0x50]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x38]
push eax
call fcn.10024fe0
mov edi, dword [ebp - 0x34]
xor eax, eax
mov esi, dword [ebp - 0x38]
sub edi, esi
sar edi, 2
sub dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], eax
je 0x10018446
xor ecx, ecx
test edi, edi
je 0x10018480
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x54], eax
movzx eax, byte [ecx + eax]
mov edx, dword [esi + ecx*4]
cmp eax, edx
je 0x10018430
cmp edx, 0xffffffff
jne 0x1001843a
inc ecx
cmp ecx, edi
jae 0x1001847d
mov eax, dword [ebp - 0x54]
jmp 0x10018420
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp eax, dword [ebp - 0x5c]
jb 0x10018414
test esi, esi
je 0x100184c8
mov eax, dword [ebp - 0x30]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x100184be
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100184be
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x6c]
add edi, eax
test esi, esi
je 0x100184ca
mov eax, dword [ebp - 0x30]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x100184b2
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018477
push ecx
push esi
call fcn.10073e7e
add esp, 8
jmp 0x100184ca
push ecx
push esi
call fcn.10073e7e
add esp, 8
xor edi, edi
push 0x10149204
mov dword [0x10149210], edi
mov dword [ebp - 4], 0xffffffff
call fcn.10073eb7
mov esi, dword [ebp - 0x64]
add esp, 4
mov edi, dword [ebp - 0x70]
push 0x100d68e8
mov ecx, esi
call dword [0x10149210]
mov eax, dword [ebp - 0x68]
shl edi, 0x10
or edi, dword [ebp - 0x14]
mov dword [eax], edi
mov dword [0x10149208], edi
mov eax, dword [esi]
mov ecx, esi
push 0xffffffffffffffff
mov eax, dword [eax + 0x12c]
call eax
push dword [ebp - 0x1c8]
mov edx, dword [ebp - 0x50]
mov ecx, esi
call fcn.10017100
add esp, 4
jmp 0x10018724
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101459f0]
cmp eax, dword [ecx + 4]
jle 0x1001867b
push 0x101459f0
call fcn.10073f08
add esp, 4
cmp dword [0x101459f0], 0xffffffff
jne 0x1001867b
mov dword [ebp - 4], 5
call fcn.10005750
mov ecx, dword [0x100d6874]
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.10073e4e
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 [0x1007a730]
mov dword [eax + 0x10], ecx
mov cx, word [0x1007a734]
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.10073a10
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x30]
mov dword [0x101459a0], eax
cmp ecx, 0xf
jbe 0x1001862d
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018623
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018657
push ecx
push edx
call fcn.10073e7e
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10018667
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001865d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001865d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10073e7e
add esp, 8
push 0x101459f0
mov dword [ebp - 4], 0xffffffff
call fcn.10073eb7
add esp, 4
mov eax, dword [0x101459a0]
add eax, edi
xor edi, edi
mov dword [ebp - 0x54], eax
mov esi, dword [eax]
cmp esi, 0xffffffff
je 0x10018724
mov ecx, dword [0x10145464]
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 0x10018714
mov ecx, esi
call fcn.10003ae0
mov ecx, 0x1f4
movzx eax, word [eax]
cmp ax, cx
jl 0x100186c8
mov ecx, 0x13a3
cmp ax, cx
jl 0x100186d9
cmp ax, 0x3b
je 0x100186d9
cmp ax, 0x2a
je 0x100186d9
movsx ecx, ax
jmp 0x100186f1
mov ecx, dword [ebp - 0x58]
call fcn.10003cb0
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, 0x10148b34
call fcn.10018fe0
push dword [ebp - 0x1c8]
mov edx, eax
mov ecx, esi
call fcn.10017100
add esp, 4
mov eax, dword [ebp - 0x54]
inc edi
mov esi, dword [eax + edi*4]
cmp esi, 0xffffffff
jne 0x10018692
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1011f470]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101459a8]
cmp eax, dword [ecx + 4]
jle 0x1001887d
push 0x101459a8
call fcn.10073f08
add esp, 4
cmp dword [0x101459a8], 0xffffffff
jne 0x1001887d
mov dword [ebp - 4], 8
call fcn.10005750
mov ecx, dword [0x100d6850]
mov edx, eax
mov ax, word [0x100d6854]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x20], ax
movq xmm0, qword [str.m_hViewModel_0_]
mov al, byte [0x100d6856]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x18], 0xf
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], ecx
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1d], 0
mov eax, dword [0x1007a6f8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], eax
movq xmm0, qword [str.DT_BasePlayer]
mov al, byte [0x1007a6fc]
mov dword [ebp - 0x34], 0xd
mov dword [ebp - 0x30], 0xf
movq qword [ebp - 0x44], xmm0
mov byte [ebp - 0x38], al
mov byte [ebp - 0x37], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x44]
mov ecx, edx
push eax
call fcn.10073a10
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x30]
mov dword [0x101459b4], eax
cmp ecx, 0xf
jbe 0x1001882f
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018825
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018859
push ecx
push edx
call fcn.10073e7e
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10018869
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001885f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001885f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10073e7e
add esp, 8
push 0x101459a8
mov dword [ebp - 4], 0xffffffff
call fcn.10073eb7
add esp, 4
mov eax, dword [0x101459b4]
mov ecx, dword [ebp - 0x58]
mov eax, dword [eax + ecx]
cmp eax, 0xffffffff
je 0x10018208
mov ecx, dword [0x10145464]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov dword [ebp - 0x54], eax
test eax, eax
je 0x10018208
mov ecx, eax
call fcn.10016680
mov edx, dword [eax]
cmp edx, 0xffffffff
je 0x10018208
mov ecx, dword [0x10145464]
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 0x10018208
mov ecx, edi
call fcn.10003ae0
movsx esi, word [eax]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], esi
push eax
call fcn.1000e9e0
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
jne 0x10018208
cmp esi, dword [eax + 0x10]
jb 0x10018208
mov ecx, edi
call fcn.10003ae0
movsx esi, word [eax]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], esi
push eax
call fcn.1000e9e0
mov edx, dword [ebp - 0x30]
cmp byte [edx + 0xd], 0
jne 0x10018dd2
cmp esi, dword [edx + 0x10]
jb 0x10018dd2
mov ecx, dword [0x101458e8]
push dword [edx + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [0x1011f470]
mov dword [ebp - 0x50], eax
mov eax, dword fs:[0x2c]
mov edx, dword [eax + ecx*4]
mov ecx, dword [0x10145988]
cmp ecx, dword [edx + 4]
jle 0x10018a9d
push 0x10145988
call fcn.10073f08
add esp, 4
cmp dword [0x10145988], 0xffffffff
jne 0x10018a9d
mov dword [ebp - 4], 0xb
call fcn.10005750
mov ecx, dword [0x100d67b4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov esi, eax
mov al, byte [0x100d67b8]
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.10073e4e
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.10073a10
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x30]
mov dword [0x101459cc], eax
cmp ecx, 0xf
jbe 0x10018a4f
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018a45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018a79
push ecx
push edx
call fcn.10073e7e
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10018a89
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018a7f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10018a7f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10073e7e
add esp, 8
push 0x10145988
mov dword [ebp - 4], 0xffffffff
call fcn.10073eb7
add esp, 4
mov eax, dword [0x101459cc]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
mov dword [eax + ecx], edx
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1011f470]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10145994]
cmp eax, dword [ecx + 4]
jle 0x10018c29
push 0x10145994
call fcn.10073f08
add esp, 4
cmp dword [0x10145994], 0xffffffff
jne 0x10018c29
mov dword [ebp - 4], 0xe
call fcn.10005750
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.10073e4e
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 [0x100d6844]
mov word [eax + 0x10], cx
movzx ecx, byte [0x100d6846]
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.10073e4e
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 [0x100d6830]
mov word [eax + 0x10], cx
movzx ecx, byte [0x100d6832]
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.10073a10
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x30]
mov dword [0x10145970], eax
cmp ecx, 0xf
jbe 0x10018bdb
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018bd1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018c05
push ecx
push edx
call fcn.10073e7e
add esp, 8
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10018c15
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018c0b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10018c0b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10073e7e
add esp, 8
push 0x10145994
mov dword [ebp - 4], 0xffffffff
call fcn.10073eb7
add esp, 4
mov eax, dword [0x10145970]
mov eax, dword [eax + edi]
cmp eax, 0xffffffff
je 0x10018208
mov ecx, dword [0x10145464]
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 0x10018208
mov ecx, dword [0x1011f470]
mov eax, dword fs:[0x2c]
mov edx, dword [eax + ecx*4]
mov ecx, dword [0x101459ac]
cmp ecx, dword [edx + 4]
jle 0x10018db3
push 0x101459ac
call fcn.10073f08
add esp, 4
cmp dword [0x101459ac], 0xffffffff
jne 0x10018db3
mov dword [ebp - 4], 0x11
call fcn.10005750
mov ecx, dword [0x100d67b4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov esi, eax
mov al, byte [0x100d67b8]
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.10073e4e
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 [0x100d6818]
mov dword [edx + 0x10], ecx
mov cx, word [0x100d681c]
mov word [edx + 0x14], cx
mov al, byte [0x100d681e]
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.10073a10
mov ecx, dword [ebp - 0x30]
mov dword [0x101459d4], eax
cmp ecx, 0xf
jbe 0x10018d70
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018d66
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018d96
push ecx
push edx
call fcn.10073e7e
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10018da6
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018d9c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10018d9c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10073e7e
add esp, 8
push 0x101459ac
call fcn.10073eb7
add esp, 4
mov eax, dword [0x101459d4]
mov ecx, dword [ebp - 0x50]
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 dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
int3