Function at 0x10038aa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf8
push ebx
push ebp
mov ebx, ecx
push esi
push edi
cmp ebx, 5
je 0x10038ac0
cmp ebx, 6
jne 0x10038e6c
mov esi, dword [0x1010230c]
mov ebp, dword [esi]
test ebp, ebp
jne 0x10038ada
mov dword [0x1010232c], ebp
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [0x100ffc08]
mov ecx, edi
push 0x9e167e91
mov dword [esp + 0x1c], str.models_player_custom_player_legacy_ctm_fbi_variantb.mdl
mov dword [esp + 0x20], str.models_player_custom_player_legacy_ctm_fbi_variantf.mdl
mov dword [esp + 0x24], str.models_player_custom_player_legacy_ctm_fbi_variantg.mdl
mov dword [esp + 0x28], str.models_player_custom_player_legacy_ctm_fbi_varianth.mdl
mov dword [esp + 0x2c], str.models_player_custom_player_legacy_ctm_sas_variantf.mdl
mov dword [esp + 0x30], str.models_player_custom_player_legacy_ctm_st6_variante.mdl
mov dword [esp + 0x34], str.models_player_custom_player_legacy_ctm_st6_variantg.mdl
mov dword [esp + 0x38], str.models_player_custom_player_legacy_ctm_st6_varianti.mdl
mov dword [esp + 0x3c], str.models_player_custom_player_legacy_ctm_st6_variantk.mdl
mov dword [esp + 0x40], str.models_player_custom_player_legacy_ctm_st6_variantm.mdl
mov dword [esp + 0x44], str.models_player_custom_player_legacy_tm_balkan_variantf.mdl
mov dword [esp + 0x48], str.models_player_custom_player_legacy_tm_balkan_variantg.mdl
mov dword [esp + 0x4c], str.models_player_custom_player_legacy_tm_balkan_varianth.mdl
mov dword [esp + 0x50], str.models_player_custom_player_legacy_tm_balkan_varianti.mdl
mov dword [esp + 0x54], str.models_player_custom_player_legacy_tm_balkan_variantj.mdl
mov dword [esp + 0x58], str.models_player_custom_player_legacy_tm_leet_variantf.mdl
mov dword [esp + 0x5c], str.models_player_custom_player_legacy_tm_leet_variantg.mdl
mov dword [esp + 0x60], str.models_player_custom_player_legacy_tm_leet_varianth.mdl
mov dword [esp + 0x64], str.models_player_custom_player_legacy_tm_leet_varianti.mdl
mov dword [esp + 0x68], str.models_player_custom_player_legacy_tm_phoenix_variantf.mdl
mov dword [esp + 0x6c], str.models_player_custom_player_legacy_tm_phoenix_variantg.mdl
mov dword [esp + 0x70], str.models_player_custom_player_legacy_tm_phoenix_varianth.mdl
mov dword [esp + 0x74], str.models_player_custom_player_legacy_tm_pirate.mdl
mov dword [esp + 0x78], str.models_player_custom_player_legacy_tm_pirate_varianta.mdl
mov dword [esp + 0x7c], str.models_player_custom_player_legacy_tm_pirate_variantb.mdl
mov dword [esp + 0x80], str.models_player_custom_player_legacy_tm_pirate_variantc.mdl
mov dword [esp + 0x84], str.models_player_custom_player_legacy_tm_pirate_variantd.mdl
mov dword [esp + 0x88], str.models_player_custom_player_legacy_tm_anarchist.mdl
mov dword [esp + 0x8c], str.models_player_custom_player_legacy_tm_anarchist_varianta.mdl
mov dword [esp + 0x90], str.models_player_custom_player_legacy_tm_anarchist_variantb.mdl
mov dword [esp + 0x94], str.models_player_custom_player_legacy_tm_anarchist_variantc.mdl
mov dword [esp + 0x98], str.models_player_custom_player_legacy_tm_anarchist_variantd.mdl
mov dword [esp + 0x9c], str.models_player_custom_player_legacy_tm_balkan_varianta.mdl
mov dword [esp + 0xa0], str.models_player_custom_player_legacy_tm_balkan_variantb.mdl
mov dword [esp + 0xa4], str.models_player_custom_player_legacy_tm_balkan_variantc.mdl
mov dword [esp + 0xa8], str.models_player_custom_player_legacy_tm_balkan_variantd.mdl
mov dword [esp + 0xac], str.models_player_custom_player_legacy_tm_balkan_variante.mdl
mov dword [esp + 0xb0], str.models_player_custom_player_legacy_tm_jumpsuit_varianta.mdl
mov dword [esp + 0xb4], str.models_player_custom_player_legacy_tm_jumpsuit_variantb.mdl
mov dword [esp + 0xb8], str.models_player_custom_player_legacy_tm_jumpsuit_variantc.mdl
mov dword [esp + 0xbc], str.models_player_custom_player_legacy_tm_phoenix_varianti.mdl
mov dword [esp + 0xc0], str.models_player_custom_player_legacy_ctm_st6_variantj.mdl
mov dword [esp + 0xc4], str.models_player_custom_player_legacy_ctm_st6_variantl.mdl
mov dword [esp + 0xc8], str.models_player_custom_player_legacy_tm_balkan_variantk.mdl
mov dword [esp + 0xcc], str.models_player_custom_player_legacy_tm_balkan_variantl.mdl
mov dword [esp + 0xd0], str.models_player_custom_player_legacy_ctm_swat_variante.mdl
mov dword [esp + 0xd4], str.models_player_custom_player_legacy_ctm_swat_variantf.mdl
mov dword [esp + 0xd8], str.models_player_custom_player_legacy_ctm_swat_variantg.mdl
mov dword [esp + 0xdc], str.models_player_custom_player_legacy_ctm_swat_varianth.mdl
mov dword [esp + 0xe0], str.models_player_custom_player_legacy_ctm_swat_varianti.mdl
mov dword [esp + 0xe4], str.models_player_custom_player_legacy_ctm_swat_variantj.mdl
mov dword [esp + 0xe8], str.models_player_custom_player_legacy_tm_professional_varf.mdl
mov dword [esp + 0xec], str.models_player_custom_player_legacy_tm_professional_varf1.mdl
mov dword [esp + 0xf0], str.models_player_custom_player_legacy_tm_professional_varf2.mdl
mov dword [esp + 0xf4], str.models_player_custom_player_legacy_tm_professional_varf3.mdl
mov dword [esp + 0xf8], str.models_player_custom_player_legacy_tm_professional_varf4.mdl
mov dword [esp + 0xfc], str.models_player_custom_player_legacy_tm_professional_varg.mdl
mov dword [esp + 0x100], str.models_player_custom_player_legacy_tm_professional_varh.mdl
mov dword [esp + 0x104], str.models_player_custom_player_legacy_tm_professional_vari.mdl
mov dword [esp + 0x108], str.models_player_custom_player_legacy_tm_professional_varj.mdl
call fcn.100246c0
movzx eax, ax
mov eax, dword [eax + ebp]
sub eax, 2
je 0x10038d56
sub eax, 1
jne 0x10038e6c
mov eax, dword [0x100ffbf8]
mov ebp, dword [eax + 0xe6c]
jmp 0x10038d61
mov eax, dword [0x100ffbf8]
mov ebp, dword [eax + 0xe68]
lea eax, [ebp - 1]
cmp eax, 0x3c
jae 0x10038e6c
mov ebp, dword [esp + ebp*4 + 0x14]
test ebp, ebp
je 0x10038e6c
cmp ebx, 5
jne 0x10038df8
push 0x4dcdb36c
mov ecx, edi
call fcn.100246c0
mov ecx, dword [esi]
movzx eax, ax
push str.modelprecache
mov eax, dword [eax + ecx]
mov dword [0x1010232c], eax
mov eax, dword [0x100ffc00]
mov ecx, dword [eax + 0x34]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
test edi, edi
je 0x10038e07
mov eax, dword [edi]
mov ecx, edi
push 0
push 0xffffffffffffffff
push ebp
mov eax, dword [eax + 0x20]
push 0
call eax
mov eax, dword [0x100ffbfc]
mov ecx, ebp
mov eax, dword [eax + 0x94]
call eax
mov edx, dword [edi]
mov esi, eax
push 0
push 0xffffffffffffffff
mov ecx, edi
push dword [esi + 8]
mov edx, dword [edx + 0x20]
push 0
call edx
mov eax, dword [edi]
mov ecx, edi
push 0
push 0xffffffffffffffff
push dword [esi + 0xc]
mov eax, dword [eax + 0x20]
push 0
call eax
jmp 0x10038e07
cmp ebx, 6
jne 0x10038e07
mov edi, dword [0x1010232c]
test edi, edi
jne 0x10038e1f
mov eax, dword [0x100ffc00]
push ebp
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov esi, dword [0x1010230c]
mov edi, eax
mov ecx, dword [esi]
push edi
mov edx, dword [ecx]
mov edx, dword [edx + 0x12c]
call edx
mov eax, dword [0x100ffc00]
mov ecx, dword [0x100ffc08]
push 0xf060206d
mov esi, dword [eax + 0x10]
call fcn.100246c0
movzx edx, ax
mov ecx, esi
mov eax, dword [0x1010230c]
mov eax, dword [eax]
mov edx, dword [edx + eax]
mov eax, dword [esi]
push edx
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x10038e6c
mov eax, dword [ecx]
push edi
mov eax, dword [eax + 0x12c]
call eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret