Function at 0x1001d620
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 0x1007c415
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x1d0
mov byte [ebp - 0x2d], cl
mov ecx, dword [0x1015b828]
push esi
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1015b83c]
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 0x1001d8f6
mov ecx, dword [0x1015b828]
lea eax, [ebp - 0x1e0]
push eax
push esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
call edx
test al, al
je 0x1001d8f6
cmp byte [ebp - 0x2d], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1012535c]
je 0x1001dc2d
mov edi, dword [eax + ecx*4]
mov eax, dword [0x1015bdb0]
cmp eax, dword [edi + 4]
jle 0x1001d80b
push 0x1015bdb0
call fcn.10079ad7
add esp, 4
cmp dword [0x1015bdb0], 0xffffffff
jne 0x1001d80b
mov dword [ebp - 4], 0
call fcn.1000bd40
mov ecx, dword [0x100dc8cc]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov esi, eax
mov ax, word [0x100dc8d0]
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 - 0x48], xmm0
call fcn.100796ae
movups xmm0, xmmword [str.DT_BaseCombatCharacter]
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], 0x16
movups xmmword [eax], xmm0
mov ecx, dword [0x10080788]
mov dword [eax + 0x10], ecx
mov cx, word [0x1008078c]
mov word [eax + 0x14], cx
mov dword [ebp - 0x34], 0x1f
mov byte [eax + 0x16], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.10079260
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x34]
mov dword [0x1015bdb4], eax
cmp ecx, 0x10
jb 0x1001d7bd
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d7b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d7e7
push ecx
push edx
call fcn.10079a4d
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x1001d7f7
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d7ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001d7ed
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10079a4d
add esp, 8
push 0x1015bdb0
mov dword [ebp - 4], 0xffffffff
call fcn.10079a86
add esp, 4
mov eax, dword [0x1015bdb4]
mov ecx, dword [ebp - 0x58]
add eax, ecx
mov dword [ebp - 0x7c], eax
call fcn.1000a3b0
xor ecx, ecx
cmp dword [eax], 3
lea eax, [ebp - 0x88]
push eax
sete cl
add ecx, 0x13a4
mov dword [ebp - 0x88], ecx
mov ecx, 0x1015ef1c
call fcn.1001e520
mov ecx, dword [0x1015f5a8]
mov dword [ebp - 0x50], eax
cmp ecx, dword [edi + 4]
jle 0x1001d880
push 0x1015f5a8
call fcn.10079ad7
add esp, 4
cmp dword [0x1015f5a8], 0xffffffff
jne 0x1001d880
push 0x1015f5a8
mov dword [0x1015f5b4], 0
call fcn.10079a86
add esp, 4
mov ecx, dword [0x1015b83c]
push ecx
mov edx, esp
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
mov dword [edx], eax
call esi
mov edi, eax
test edi, edi
jne 0x1001d8c5
mov ecx, dword [0x1015b83c]
push ecx
mov edx, esp
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
mov eax, dword [0x1015f5b4]
mov dword [edx], eax
call esi
test eax, eax
je 0x1001d8c5
mov edx, dword [ebp - 0x7c]
mov edi, eax
mov ecx, dword [0x1015f5b4]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x58]
call fcn.1000cc70
cmp dword [eax], 0
je 0x1001d909
test edi, edi
je 0x1001d8f6
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 - 0x50]
test eax, eax
je 0x1001de23
cmp dword [eax + 0x3c], 0
je 0x1001de23
test edi, edi
jne 0x1001dc07
mov edx, dword fs:[0x2c]
mov esi, dword [0x1012535c]
mov eax, dword [0x1015f5ac]
mov ecx, dword [edx + esi*4]
cmp eax, dword [ecx + 4]
jle 0x1001da04
push 0x1015f5ac
call fcn.10079ad7
add esp, 4
cmp dword [0x1015f5ac], 0xffffffff
jne 0x1001da04
mov dword [ebp - 4], 3
mov ecx, dword [0x1015bd70]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov esi, eax
mov edx, str.CEconWearable
mov ecx, dword [esi + 8]
nop
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1001d9a0
test al, al
je 0x1001d99c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1001d9a0
add ecx, 2
add edx, 2
test al, al
jne 0x1001d980
xor eax, eax
jmp 0x1001d9a5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001d9e9
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 0x1001d9e0
test dl, dl
je 0x1001d9dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1001d9e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1001d9c0
xor eax, eax
jmp 0x1001d9e5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1001d9b0
mov eax, dword [esi]
push 0x1015f5ac
mov dword [0x1015f5b8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10079a86
add esp, 4
mov ecx, dword [0x1015b83c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
lea edi, [eax + 1]
mov dword [ebp - 0x14], edi
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov esi, eax
and esi, 0x80000fff
jns 0x1001da2f
dec esi
or esi, 0xfffff000
inc esi
push esi
push edi
mov dword [ebp - 0x84], esi
call dword [0x1015f5b8]
mov ecx, dword [0x1015b83c]
add esp, 8
mov edx, dword [ecx]
push edi
mov edx, dword [edx + 0xc]
call edx
mov esi, dword [0x1012535c]
mov edi, eax
mov edx, dword fs:[0x2c]
mov eax, dword [0x1015f5b0]
mov ecx, dword [edx + esi*4]
mov esi, dword [ebp - 0x84]
cmp eax, dword [ecx + 4]
jle 0x1001dbe9
push 0x1015f5b0
call fcn.10079ad7
add esp, 4
cmp dword [0x1015f5b0], 0xffffffff
jne 0x1001dbe9
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x3c]
mov esi, str.client.dll
push eax
mov dword [ebp - 0x4c], esi
call fcn.1002b800
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
jne 0x1001dacc
cmp dword [eax + 0x10], esi
ja 0x1001dacc
lea eax, [ebp - 0x4c]
push eax
call fcn.1002b610
cmp dword [eax], 0
jne 0x1001dae0
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.1002b610
mov dword [eax], esi
lea eax, [ebp - 0x4c]
push eax
call fcn.1002b610
mov ecx, dword [eax]
push ecx
mov dword [ebp - 0x80], ecx
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + ecx + 0x50]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x64]
push eax
call fcn.1002ae60
mov eax, dword [ebp - 0x60]
mov esi, dword [ebp - 0x64]
sub eax, esi
sar eax, 2
sub dword [ebp - 0x74], eax
mov dword [ebp - 0x54], eax
je 0x1001db8b
xor ecx, ecx
xor edx, edx
test eax, eax
je 0x1001db49
nop dword [eax]
mov eax, dword [ebp - 0x80]
add eax, edx
mov dword [ebp - 0x78], eax
movzx eax, byte [ecx + eax]
cmp eax, dword [esi + ecx*4]
je 0x1001db41
cmp dword [esi + ecx*4], 0xffffffff
je 0x1001db41
inc edx
cmp edx, dword [ebp - 0x74]
jae 0x1001db8b
xor ecx, ecx
jmp 0x1001db20
inc ecx
cmp ecx, dword [ebp - 0x54]
jb 0x1001db20
jmp 0x1001db4f
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x78], eax
test esi, esi
je 0x1001db86
mov eax, dword [ebp - 0x5c]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x1001db7c
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001dbb8
push ecx
push esi
call fcn.10079a4d
add esp, 8
mov eax, dword [ebp - 0x78]
jmp 0x1001dbca
test esi, esi
je 0x1001dbc8
mov eax, dword [ebp - 0x5c]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x1001dbbe
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001dbbe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.10079a4d
add esp, 8
xor eax, eax
push 0x1015f5b0
mov dword [0x1015f5bc], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10079a86
mov esi, dword [ebp - 0x84]
add esp, 4
push 0x100dc930
mov ecx, edi
call dword [0x1015f5bc]
mov eax, dword [ebp - 0x7c]
shl esi, 0x10
or esi, dword [ebp - 0x14]
mov dword [eax], esi
mov dword [0x1015f5b4], esi
mov eax, dword [edi]
mov ecx, edi
push 0xffffffffffffffff
mov eax, dword [eax + 0x12c]
call eax
push dword [ebp - 0x1d8]
mov edx, dword [ebp - 0x50]
mov ecx, edi
call fcn.1001c770
add esp, 4
jmp 0x1001de23
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1015bdc8]
cmp eax, dword [ecx + 4]
jle 0x1001dd7a
push 0x1015bdc8
call fcn.10079ad7
add esp, 4
cmp dword [0x1015bdc8], 0xffffffff
jne 0x1001dd7a
mov dword [ebp - 4], 5
call fcn.1000bd40
mov ecx, dword [0x100dc8bc]
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 - 0x48], xmm0
call fcn.100796ae
movups xmm0, xmmword [str.DT_BaseCombatCharacter]
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], 0x16
movups xmmword [eax], xmm0
mov ecx, dword [0x10080788]
mov dword [eax + 0x10], ecx
mov cx, word [0x1008078c]
mov word [eax + 0x14], cx
mov dword [ebp - 0x34], 0x1f
mov byte [eax + 0x16], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.10079260
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x34]
mov dword [0x1015bd78], eax
cmp ecx, 0x10
jb 0x1001dd2c
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001dd22
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001dd56
push ecx
push edx
call fcn.10079a4d
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x1001dd66
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001dd5c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001dd5c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10079a4d
add esp, 8
push 0x1015bdc8
mov dword [ebp - 4], 0xffffffff
call fcn.10079a86
add esp, 4
mov eax, dword [0x1015bd78]
add eax, edi
xor edi, edi
mov dword [ebp - 0x54], eax
mov esi, dword [eax]
cmp esi, 0xffffffff
je 0x1001de23
mov ecx, dword [0x1015b83c]
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 0x1001de13
mov ecx, esi
call fcn.1000a1e0
mov edx, 0x1f4
movzx eax, word [eax]
movsx ecx, ax
cmp ax, dx
jl 0x1001ddcc
mov edx, 0x13a3
cmp ax, dx
jl 0x1001ddd8
jmp 0x1001ddf0
cmp ax, 0x3b
je 0x1001ddd8
cmp ax, 0x2a
jne 0x1001ddf0
mov ecx, dword [ebp - 0x58]
call fcn.1000a3b0
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, 0x1015ef1c
call fcn.1001e520
push dword [ebp - 0x1d8]
mov edx, eax
mov ecx, esi
call fcn.1001c770
add esp, 4
mov eax, dword [ebp - 0x54]
inc edi
mov esi, dword [eax + edi*4]
cmp esi, 0xffffffff
jne 0x1001dd91
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1012535c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1015bd80]
cmp eax, dword [ecx + 4]
jle 0x1001df7c
push 0x1015bd80
call fcn.10079ad7
add esp, 4
cmp dword [0x1015bd80], 0xffffffff
jne 0x1001df7c
mov dword [ebp - 4], 8
call fcn.1000bd40
mov ecx, dword [0x100dc898]
mov edx, eax
mov ax, word [0x100dc89c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x20], ax
movq xmm0, qword [str.m_hViewModel_0_]
mov al, byte [0x100dc89e]
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 [0x10080750]
xorps xmm0, xmm0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x40], eax
movq xmm0, qword [str.DT_BasePlayer]
mov al, byte [0x10080754]
mov dword [ebp - 0x38], 0xd
mov dword [ebp - 0x34], 0xf
movq qword [ebp - 0x48], xmm0
mov byte [ebp - 0x3c], al
mov byte [ebp - 0x3b], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x48]
mov ecx, edx
push eax
call fcn.10079260
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x34]
mov dword [0x1015bd8c], eax
cmp ecx, 0x10
jb 0x1001df2e
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001df24
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001df58
push ecx
push edx
call fcn.10079a4d
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x1001df68
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001df5e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001df5e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10079a4d
add esp, 8
push 0x1015bd80
mov dword [ebp - 4], 0xffffffff
call fcn.10079a86
add esp, 4
mov eax, dword [0x1015bd8c]
mov ecx, dword [ebp - 0x58]
mov eax, dword [eax + ecx]
cmp eax, 0xffffffff
je 0x1001d8f6
mov ecx, dword [0x1015b83c]
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 0x1001d8f6
mov ecx, eax
call fcn.1001bc70
mov edx, dword [eax]
cmp edx, 0xffffffff
je 0x1001d8f6
mov ecx, dword [0x1015b83c]
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 0x1001d8f6
mov ecx, edi
call fcn.1000a1e0
movsx esi, word [eax]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], esi
push eax
call fcn.10014460
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
jne 0x1001d8f6
cmp esi, dword [eax + 0x10]
jb 0x1001d8f6
mov ecx, edi
call fcn.1000a1e0
movsx esi, word [eax]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x14], esi
push eax
call fcn.10014460
mov edx, dword [ebp - 0x5c]
cmp byte [edx + 0xd], 0
jne 0x1001e50a
cmp esi, dword [edx + 0x10]
jb 0x1001e50a
mov ecx, dword [0x1015bcbc]
push dword [edx + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov edx, dword fs:[0x2c]
mov esi, dword [0x1012535c]
mov ecx, dword [0x1015bd60]
mov dword [ebp - 0x50], eax
mov eax, dword [edx + esi*4]
cmp ecx, dword [eax + 4]
jle 0x1001e1b5
push 0x1015bd60
call fcn.10079ad7
add esp, 4
cmp dword [0x1015bd60], 0xffffffff
jne 0x1001e1b5
mov dword [ebp - 4], 0xb
call fcn.1000bd40
mov ecx, dword [0x100dc7fc]
xorps xmm0, xmm0
movups xmmword [ebp - 0x48], xmm0
mov esi, eax
mov al, byte [0x100dc800]
movq xmm0, qword [str.m_nModelIndex]
mov dword [ebp - 0x38], 0xd
mov dword [ebp - 0x34], 0xf
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x40], ecx
mov byte [ebp - 0x3c], al
mov byte [ebp - 0x3b], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 0xc
push 0x20
movups xmmword [ebp - 0x2c], xmm0
call fcn.100796ae
movups xmm0, xmmword [str.DT_BaseViewModel]
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], 0x10
movups xmmword [eax], xmm0
mov dword [ebp - 0x18], 0x1f
mov byte [eax + 0x10], 0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.10079260
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x18]
mov dword [0x1015bda4], eax
cmp ecx, 0x10
jb 0x1001e14f
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001e145
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e179
push ecx
push edx
call fcn.10079a4d
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x1001e189
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001e17f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001e17f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10079a4d
add esp, 8
push 0x1015bd60
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov dword [ebp - 4], 0xffffffff
call fcn.10079a86
mov esi, dword [0x1012535c]
add esp, 4
mov eax, dword [0x1015bda4]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
mov dword [eax + ecx], edx
mov edx, dword fs:[0x2c]
mov eax, dword [0x1015bd6c]
mov ecx, dword [edx + esi*4]
cmp eax, dword [ecx + 4]
jle 0x1001e34e
push 0x1015bd6c
call fcn.10079ad7
add esp, 4
cmp dword [0x1015bd6c], 0xffffffff
jne 0x1001e34e
mov dword [ebp - 4], 0xe
call fcn.1000bd40
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push 0x20
mov esi, eax
mov dword [ebp - 0x18], 0xf
movups xmmword [ebp - 0x2c], xmm0
call fcn.100796ae
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 [0x100dc88c]
mov word [eax + 0x10], cx
movzx ecx, byte [0x100dc88e]
mov byte [eax + 0x12], cl
mov byte [eax + 0x13], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 0xf
push 0x20
movups xmmword [ebp - 0x70], xmm0
call fcn.100796ae
movups xmm0, xmmword [str.DT_BaseCombatWeapon]
add esp, 4
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x60], 0x13
movups xmmword [eax], xmm0
movzx ecx, word [0x100dc878]
mov word [eax + 0x10], cx
movzx ecx, byte [0x100dc87a]
mov byte [eax + 0x12], cl
mov dword [ebp - 0x5c], 0x1f
mov byte [eax + 0x13], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
call fcn.10079260
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x5c]
mov dword [0x1015bd48], eax
cmp ecx, 0x10
jb 0x1001e2ee
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001e2e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e318
push ecx
push edx
call fcn.10079a4d
add esp, 8
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x1001e328
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001e31e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001e31e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10079a4d
add esp, 8
push 0x1015bd6c
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
call fcn.10079a86
add esp, 4
mov eax, dword [0x1015bd48]
mov eax, dword [eax + edi]
cmp eax, 0xffffffff
je 0x1001d8f6
mov ecx, dword [0x1015b83c]
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 0x1001d8f6
mov edx, dword fs:[0x2c]
mov esi, dword [0x1012535c]
mov ecx, dword [0x1015bd84]
mov eax, dword [edx + esi*4]
cmp ecx, dword [eax + 4]
jle 0x1001e4eb
push 0x1015bd84
call fcn.10079ad7
add esp, 4
cmp dword [0x1015bd84], 0xffffffff
jne 0x1001e4eb
mov dword [ebp - 4], 0x11
call fcn.1000bd40
mov ecx, dword [0x100dc7fc]
xorps xmm0, xmm0
movups xmmword [ebp - 0x70], xmm0
mov esi, eax
mov al, byte [0x100dc800]
movq xmm0, qword [str.m_nModelIndex]
mov dword [ebp - 0x60], 0xd
mov dword [ebp - 0x5c], 0xf
movq qword [ebp - 0x70], xmm0
mov dword [ebp - 0x68], ecx
mov byte [ebp - 0x64], al
mov byte [ebp - 0x63], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x12
push 0x20
movups xmmword [ebp - 0x2c], xmm0
call fcn.100796ae
movups xmm0, xmmword [str.DT_BaseWeaponWorldModel]
mov edx, eax
mov dword [ebp - 0x1c], 0x17
add esp, 4
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], 0x1f
movups xmmword [edx], xmm0
mov ecx, dword [0x100dc860]
mov dword [edx + 0x10], ecx
mov cx, word [0x100dc864]
mov word [edx + 0x14], cx
mov al, byte [0x100dc866]
mov byte [edx + 0x16], al
mov byte [edx + 0x17], 0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.10079260
mov ecx, dword [ebp - 0x18]
mov dword [0x1015bdac], eax
cmp ecx, 0x10
jb 0x1001e496
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001e48c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e4bc
push ecx
push edx
call fcn.10079a4d
add esp, 8
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x1001e4cc
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001e4c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001e4c2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10079a4d
add esp, 8
push 0x1015bd84
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.10079a86
add esp, 4
mov eax, dword [0x1015bdac]
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