Function at 0x10036230
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 0x100f2075
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 [0x1028c140]
push esi
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1028c158]
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 0x10036508
mov ecx, dword [0x1028c140]
lea eax, [ebp - 0x1d0]
push eax
push esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
call edx
test al, al
je 0x10036508
cmp byte [ebp - 0x45], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10255fac]
je 0x1003682e
mov edi, dword [eax + ecx*4]
mov eax, dword [0x1028c6e0]
cmp eax, dword [edi + 4]
jle 0x1003641b
push 0x1028c6e0
call fcn.100eec77
add esp, 4
cmp dword [0x1028c6e0], 0xffffffff
jne 0x1003641b
mov dword [ebp - 4], 0
call fcn.1000c3d0
mov ecx, dword [0x10166614]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov esi, eax
mov ax, word [0x10166618]
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.100eeb68
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 [0x101063f4]
mov dword [eax + 0x10], ecx
mov cx, word [0x101063f8]
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.100969b0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
mov dword [0x1028c6e4], eax
cmp ecx, 0xf
jbe 0x100363cd
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100363c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100363f7
push ecx
push edx
call fcn.100eebed
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10036407
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100363fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100363fd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100eebed
add esp, 8
push 0x1028c6e0
mov dword [ebp - 4], 0xffffffff
call fcn.100eec26
add esp, 4
mov eax, dword [0x1028c6e4]
mov ecx, dword [ebp - 0x58]
add eax, ecx
mov dword [ebp - 0x68], eax
call fcn.1000a340
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, 0x1028f90c
call fcn.100372e0
mov ecx, dword [0x102900f0]
mov dword [ebp - 0x50], eax
cmp ecx, dword [edi + 4]
jle 0x1003648a
push 0x102900f0
call fcn.100eec77
add esp, 4
cmp dword [0x102900f0], 0xffffffff
jne 0x1003648a
push 0x102900f0
mov dword [0x102900fc], 0
call fcn.100eec26
add esp, 4
mov ecx, dword [0x1028c158]
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 0x100364d7
mov ecx, dword [0x1028c158]
push ecx
mov edx, esp
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
mov eax, dword [0x102900fc]
mov dword [edx], eax
call esi
test eax, eax
je 0x100364d4
mov edx, dword [ebp - 0x68]
mov esi, eax
mov ecx, dword [0x102900fc]
mov dword [edx], ecx
jmp 0x100364d7
mov esi, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x58]
call fcn.1000d4b0
cmp dword [eax], 0
je 0x1003651b
test esi, esi
je 0x10036508
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 0x10036a24
cmp dword [eax + 0x3c], 0
je 0x10036a24
test esi, esi
jne 0x10036808
mov eax, dword [0x102900f4]
cmp eax, dword [edi + 4]
jle 0x10036604
push 0x102900f4
call fcn.100eec77
add esp, 4
cmp dword [0x102900f4], 0xffffffff
jne 0x10036604
mov dword [ebp - 4], 3
mov ecx, dword [0x1028c6a0]
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 0x100365a1
test al, al
je 0x1003659d
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100365a1
add ecx, 2
add edx, 2
test al, al
jne 0x10036581
xor eax, eax
jmp 0x100365a6
sbb eax, eax
or eax, 1
test eax, eax
je 0x100365e9
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 0x100365e0
test dl, dl
je 0x100365dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100365e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100365c0
xor eax, eax
jmp 0x100365e5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100365b0
mov eax, dword [esi]
push 0x102900f4
mov dword [0x10290100], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100eec26
add esp, 4
mov ecx, dword [0x1028c158]
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 0x1003662f
dec edi
or edi, 0xfffff000
inc edi
push edi
push esi
mov dword [ebp - 0x70], edi
call dword [0x10290100]
mov ecx, dword [0x1028c158]
add esp, 8
mov edx, dword [ecx]
push esi
mov edx, dword [edx + 0xc]
call edx
mov edi, dword [0x10255fac]
mov esi, eax
mov edx, dword fs:[0x2c]
mov eax, dword [0x102900f8]
mov dword [ebp - 0x64], esi
mov ecx, dword [edx + edi*4]
mov edi, dword [ebp - 0x70]
cmp eax, dword [ecx + 4]
jle 0x100367ea
push 0x102900f8
call fcn.100eec77
add esp, 4
cmp dword [0x102900f8], 0xffffffff
jne 0x100367ea
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.10044ea0
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
jne 0x100366c9
cmp dword [eax + 0x10], esi
ja 0x100366c9
lea eax, [ebp - 0x4c]
push eax
call fcn.10044da0
cmp dword [eax], 0
jne 0x100366dd
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.10044da0
mov dword [eax], esi
lea eax, [ebp - 0x4c]
push eax
call fcn.10044da0
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.100445a0
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 0x10036746
xor ecx, ecx
test edi, edi
je 0x10036780
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 0x10036730
cmp edx, 0xffffffff
jne 0x1003673a
inc ecx
cmp ecx, edi
jae 0x1003677d
mov eax, dword [ebp - 0x54]
jmp 0x10036720
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp eax, dword [ebp - 0x5c]
jb 0x10036714
test esi, esi
je 0x100367c8
mov eax, dword [ebp - 0x30]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x100367be
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100367be
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 0x100367ca
mov eax, dword [ebp - 0x30]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x100367b2
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036777
push ecx
push esi
call fcn.100eebed
add esp, 8
jmp 0x100367ca
push ecx
push esi
call fcn.100eebed
add esp, 8
xor edi, edi
push 0x102900f8
mov dword [0x10290104], edi
mov dword [ebp - 4], 0xffffffff
call fcn.100eec26
mov esi, dword [ebp - 0x64]
add esp, 4
mov edi, dword [ebp - 0x70]
push 0x10166678
mov ecx, esi
call dword [0x10290104]
mov eax, dword [ebp - 0x68]
shl edi, 0x10
or edi, dword [ebp - 0x14]
mov dword [eax], edi
mov dword [0x102900fc], 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.10035400
add esp, 4
jmp 0x10036a24
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1028c6f8]
cmp eax, dword [ecx + 4]
jle 0x1003697b
push 0x1028c6f8
call fcn.100eec77
add esp, 4
cmp dword [0x1028c6f8], 0xffffffff
jne 0x1003697b
mov dword [ebp - 4], 5
call fcn.1000c3d0
mov ecx, dword [0x10166604]
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.100eeb68
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 [0x101063f4]
mov dword [eax + 0x10], ecx
mov cx, word [0x101063f8]
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.100969b0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x30]
mov dword [0x1028c6a8], eax
cmp ecx, 0xf
jbe 0x1003692d
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036923
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036957
push ecx
push edx
call fcn.100eebed
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10036967
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003695d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003695d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100eebed
add esp, 8
push 0x1028c6f8
mov dword [ebp - 4], 0xffffffff
call fcn.100eec26
add esp, 4
mov eax, dword [0x1028c6a8]
add eax, edi
xor edi, edi
mov dword [ebp - 0x54], eax
mov esi, dword [eax]
cmp esi, 0xffffffff
je 0x10036a24
mov ecx, dword [0x1028c158]
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 0x10036a14
mov ecx, esi
call fcn.1000a170
mov ecx, 0x1f4
movzx eax, word [eax]
cmp ax, cx
jl 0x100369c8
mov ecx, 0x13a3
cmp ax, cx
jl 0x100369d9
cmp ax, 0x3b
je 0x100369d9
cmp ax, 0x2a
je 0x100369d9
movsx ecx, ax
jmp 0x100369f1
mov ecx, dword [ebp - 0x58]
call fcn.1000a340
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, 0x1028f90c
call fcn.100372e0
push dword [ebp - 0x1c8]
mov edx, eax
mov ecx, esi
call fcn.10035400
add esp, 4
mov eax, dword [ebp - 0x54]
inc edi
mov esi, dword [eax + edi*4]
cmp esi, 0xffffffff
jne 0x10036992
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10255fac]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1028c6b0]
cmp eax, dword [ecx + 4]
jle 0x10036b7d
push 0x1028c6b0
call fcn.100eec77
add esp, 4
cmp dword [0x1028c6b0], 0xffffffff
jne 0x10036b7d
mov dword [ebp - 4], 8
call fcn.1000c3d0
mov ecx, dword [0x101665e0]
mov edx, eax
mov ax, word [0x101665e4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x20], ax
movq xmm0, qword [str.m_hViewModel_0_]
mov al, byte [0x101665e6]
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 [0x101063bc]
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], eax
movq xmm0, qword [str.DT_BasePlayer]
mov al, byte [0x101063c0]
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.100969b0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x30]
mov dword [0x1028c6bc], eax
cmp ecx, 0xf
jbe 0x10036b2f
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036b25
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036b59
push ecx
push edx
call fcn.100eebed
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10036b69
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036b5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10036b5f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100eebed
add esp, 8
push 0x1028c6b0
mov dword [ebp - 4], 0xffffffff
call fcn.100eec26
add esp, 4
mov eax, dword [0x1028c6bc]
mov ecx, dword [ebp - 0x58]
mov eax, dword [eax + ecx]
cmp eax, 0xffffffff
je 0x10036508
mov ecx, dword [0x1028c158]
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 0x10036508
mov ecx, eax
call fcn.10034980
mov edx, dword [eax]
cmp edx, 0xffffffff
je 0x10036508
mov ecx, dword [0x1028c158]
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 0x10036508
mov ecx, edi
call fcn.1000a170
movsx esi, word [eax]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], esi
push eax
call fcn.1002d0e0
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
jne 0x10036508
cmp esi, dword [eax + 0x10]
jb 0x10036508
mov ecx, edi
call fcn.1000a170
movsx esi, word [eax]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], esi
push eax
call fcn.1002d0e0
mov edx, dword [ebp - 0x30]
cmp byte [edx + 0xd], 0
jne 0x100370d2
cmp esi, dword [edx + 0x10]
jb 0x100370d2
mov ecx, dword [0x1028c5dc]
push dword [edx + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [0x10255fac]
mov dword [ebp - 0x50], eax
mov eax, dword fs:[0x2c]
mov edx, dword [eax + ecx*4]
mov ecx, dword [0x1028c690]
cmp ecx, dword [edx + 4]
jle 0x10036d9d
push 0x1028c690
call fcn.100eec77
add esp, 4
cmp dword [0x1028c690], 0xffffffff
jne 0x10036d9d
mov dword [ebp - 4], 0xb
call fcn.1000c3d0
mov ecx, dword [0x10166544]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov esi, eax
mov al, byte [0x10166548]
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.100eeb68
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.100969b0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x30]
mov dword [0x1028c6d4], eax
cmp ecx, 0xf
jbe 0x10036d4f
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036d45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036d79
push ecx
push edx
call fcn.100eebed
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10036d89
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036d7f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10036d7f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100eebed
add esp, 8
push 0x1028c690
mov dword [ebp - 4], 0xffffffff
call fcn.100eec26
add esp, 4
mov eax, dword [0x1028c6d4]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
mov dword [eax + ecx], edx
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10255fac]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1028c69c]
cmp eax, dword [ecx + 4]
jle 0x10036f29
push 0x1028c69c
call fcn.100eec77
add esp, 4
cmp dword [0x1028c69c], 0xffffffff
jne 0x10036f29
mov dword [ebp - 4], 0xe
call fcn.1000c3d0
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.100eeb68
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 [0x101665d4]
mov word [eax + 0x10], cx
movzx ecx, byte [0x101665d6]
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.100eeb68
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 [0x101665c0]
mov word [eax + 0x10], cx
movzx ecx, byte [0x101665c2]
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.100969b0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x30]
mov dword [0x1028c678], eax
cmp ecx, 0xf
jbe 0x10036edb
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036ed1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036f05
push ecx
push edx
call fcn.100eebed
add esp, 8
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10036f15
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036f0b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10036f0b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100eebed
add esp, 8
push 0x1028c69c
mov dword [ebp - 4], 0xffffffff
call fcn.100eec26
add esp, 4
mov eax, dword [0x1028c678]
mov eax, dword [eax + edi]
cmp eax, 0xffffffff
je 0x10036508
mov ecx, dword [0x1028c158]
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 0x10036508
mov ecx, dword [0x10255fac]
mov eax, dword fs:[0x2c]
mov edx, dword [eax + ecx*4]
mov ecx, dword [0x1028c6b4]
cmp ecx, dword [edx + 4]
jle 0x100370b3
push 0x1028c6b4
call fcn.100eec77
add esp, 4
cmp dword [0x1028c6b4], 0xffffffff
jne 0x100370b3
mov dword [ebp - 4], 0x11
call fcn.1000c3d0
mov ecx, dword [0x10166544]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov esi, eax
mov al, byte [0x10166548]
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.100eeb68
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 [0x101665a8]
mov dword [edx + 0x10], ecx
mov cx, word [0x101665ac]
mov word [edx + 0x14], cx
mov al, byte [0x101665ae]
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.100969b0
mov ecx, dword [ebp - 0x30]
mov dword [0x1028c6dc], eax
cmp ecx, 0xf
jbe 0x10037070
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037066
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037096
push ecx
push edx
call fcn.100eebed
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x100370a6
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003709c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003709c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100eebed
add esp, 8
push 0x1028c6b4
call fcn.100eec26
add esp, 4
mov eax, dword [0x1028c6dc]
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