Function at 0x10046600
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004d050
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1007a010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x1007a6ec]
mov dword [ebp - 4], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1007a6e4]
mov dword [ebp - 4], 1
mov edx, dword [ecx]
push eax
mov edx, dword [edx + 0xc]
call edx
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x1004681b
mov ecx, dword [0x1007a6ec]
mov dword [ebp - 4], 2
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1007a6e4]
mov dword [ebp - 4], 3
mov edx, dword [ecx]
push eax
mov edx, dword [edx + 0xc]
call edx
mov esi, eax
test esi, esi
je 0x100467a5
mov ecx, dword [0x1007a7a0]
mov dword [ebp - 4], 4
mov edx, dword [ecx]
push str.models_weapons_v_knife_karam.mdl
mov edx, dword [edx + 8]
call edx
mov edi, eax
mov dword [ebp - 4], 0xffffffff
test edi, edi
jne 0x100466db
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.fake_model_index
call fcn.10043cd0
push 0x10043eb0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x100467a5
mov dword [ebp - 4], 5
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x430]
call eax
mov dword [ebp - 4], 6
mov ecx, dword [eax]
mov edx, dword [ecx + 0x71c]
mov ecx, eax
call edx
test eax, eax
jne 0x100467a5
mov ecx, dword [0x1007a6e4]
mov dword [ebp - 4], 7
mov eax, dword [ecx]
push dword [esi + 0x3308]
mov eax, dword [eax + 0x10]
call eax
test eax, eax
je 0x100467a5
mov dword [eax + 0x258], edi
mov dword [ebp - 4], 8
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x430]
call eax
mov dword [eax + 0x258], edi
mov dword [ebp - 4], 9
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x430]
call eax
mov dword [eax + 0x2fba], 0x1fb
mov dword [ebp - 4], 0xa
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x430]
call eax
mov ecx, dword [0x1007a284]
movss xmm0, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [eax + 0x2fd0], 0xffffffff
mov dword [eax + 0x31d8], ecx
movss dword [eax + 0x31e0], xmm0
mov dword [eax + 0x31dc], 0x183
xor edi, edi
nop word [eax + eax]
mov ecx, dword [0x1007a6e4]
mov dword [ebp - 4], 0xb
mov eax, dword [ecx]
push dword [ebx + edi*4 + 0x2e08]
mov eax, dword [eax + 0x10]
call eax
mov esi, eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10046815
mov ecx, esi
call fcn.10046890
mov ecx, eax
test ecx, ecx
je 0x10046815
mov eax, dword [0x1007a284]
movss xmm0, dword [eax + ecx*8 + 4]
mov eax, dword [eax + ecx*8]
mov dword [esi + 0x2fd0], 0xffffffff
mov dword [esi + 0x31d8], eax
movss dword [esi + 0x31e0], xmm0
mov dword [esi + 0x31dc], 0x183
inc edi
cmp edi, 0x40
jl 0x100467b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret