Function at 0x47d0c0
Capabilities:
Create directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x72b19c
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
push ebx
push ebp
push esi
push edi
mov ecx, 0x7cb478
call fcn.004d51e0
mov ebp, eax
mov eax, dword [esp + 0x1d8]
cmp byte [eax + 1], 0x3a
push eax
jne 0x47d10a
push 0x775998
push ebp
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
jmp 0x47d11e
push str.Meshes
push 0x775a78
push ebp
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
or ecx, 0xffffffff
xor eax, eax
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
mov al, byte [ecx + ebp - 5]
dec ecx
xor ebx, ebx
cmp al, 0x2e
jne 0x47d144
or ecx, 0xffffffff
xor eax, eax
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ecx + ebp - 4], bl
or ecx, 0xffffffff
xor eax, eax
mov edi, str..nif
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
or ecx, 0xffffffff
mov esi, edi
mov edi, ebp
repne scasb al, byte es:[edi]
mov ecx, edx
shr ecx, 2
dec edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x68]
call fcn.0051ad20
mov al, byte [0x7c4c90]
push ebp
lea ecx, [esp + 0x6c]
mov dword [esp + 0x1d4], ebx
mov byte [esp + 0x17], al
mov byte [0x7c4c90], bl
call fcn.006c41d0
cmp al, bl
mov cl, byte [esp + 0x13]
mov byte [0x7c4c90], cl
je 0x47d411
mov esi, dword [esp + 0x1d8]
mov edi, dword [sym.imp.MSVCRT.dll__stricmp]
push str.base_anim.1st
push esi
call edi
add esp, 8
test eax, eax
je 0x47d1e6
push str.base_anim_female.1st
push esi
call edi
add esp, 8
test eax, eax
je 0x47d1e6
cmp dword [esp + 0xd4], 1
je 0x47d1fe
push esi
push str.Only_one_root_object_allowed_on_file___s_._r_nMake_sure_the_object_was_exported_without_cameras._r_n
jmp 0x47d1f6
cmp dword [esp + 0xd4], 2
je 0x47d1fe
push esi
push str.The_1st_person_animation___s__needs_to_be_exported_with_a_camera._r_nMake_sure_the_object_was_exported_with_cameras._r_n
call fcn.00477400
add esp, 8
mov edx, dword [esp + 0xcc]
mov edi, dword [edx]
cmp edi, ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x64], edi
je 0x47d216
inc dword [edi + 4]
cmp edi, ebx
mov byte [esp + 0x1d0], 1
je 0x47d411
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
cmp eax, ebx
je 0x47d23f
cmp eax, 0x7ddeb8
je 0x47d26d
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x47d231
xor al, al
neg al
sbb eax, eax
and eax, edi
push eax
call fcn.0046c570
add esp, 4
test eax, eax
jne 0x47d271
mov eax, dword [edi + 4]
dec eax
mov byte [esp + 0x1d0], bl
mov dword [edi + 4], eax
jne 0x47d411
jmp 0x47d409
mov al, 1
jmp 0x47d241
mov esi, 0x10
push 0x44
mov dword [esp + 0x20], 0x7477a4
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x1d0], 2
je 0x47d2ca
push fcn.0040a880
push 0x40b080
push esi
mov dword [eax], esi
add eax, 4
push 4
push eax
mov dword [esp + 0x68], eax
call fcn.007276b0
mov eax, dword [esp + 0x54]
jmp 0x47d2cc
xor eax, eax
mov dword [esp + 0x20], eax
push 0x40
mov byte [esp + 0x1d4], 3
mov dword [esp + 0x40], 0x7477a0
mov dword [esp + 0x48], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x1e8]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x48]
push eax
push ecx
push edi
mov byte [esp + 0x1ec], 5
mov dword [esp + 0x54], ebx
call fcn.0047ce20
mov edx, dword [esp + 0x1f4]
push 1
push ebp
push 0x789d88
push edx
call fcn.0047d870
push 0x5c
push ebp
call dword [sym.imp.MSVCRT.dll_strrchr]
mov esi, eax
add esp, 0x34
cmp esi, ebx
je 0x47d375
lea eax, [esp + 0x58]
push eax
push ebp
mov dword [esp + 0x60], 0xc
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
mov byte [esi], bl
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [esi], 0x5c
lea ecx, [esp + 0x68]
call fcn.006c3170
push edi
lea ecx, [esp + 0x6c]
call fcn.006c2fd0
push ebp
lea ecx, [esp + 0x6c]
call fcn.006c4710
cmp al, bl
jne 0x47d42c
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov byte [esp + 0x1d0], 4
je 0x47d3c5
mov esi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec esi
mov edx, esi
cmp edx, ebx
mov dword [eax], esi
jne 0x47d3c5
cmp ecx, ebx
je 0x47d3c5
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x40]
push eax
mov dword [esp + 0x40], 0x7477a0
call fcn.00727530
mov ecx, dword [esp + 0x24]
add esp, 4
cmp ecx, ebx
mov byte [esp + 0x1d0], 1
mov dword [esp + 0x1c], 0x7477a4
je 0x47d3f9
push 3
call fcn.0047df80
mov eax, dword [edi + 4]
dec eax
mov byte [esp + 0x1d0], bl
mov dword [edi + 4], eax
jne 0x47d411
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
lea ecx, [esp + 0x68]
mov dword [esp + 0x1d0], 0xffffffff
call fcn.0051ad60
xor al, al
jmp 0x47d60e
mov ecx, dword [0x7c9f74]
lea eax, [ebp + 0xb]
push eax
call fcn.00493580
push 0x14
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
cmp edi, ebx
mov byte [esp + 0x1d0], 6
je 0x47d466
mov ecx, edi
call fcn.006e9ed0
mov dword [edi], 0x747774
jmp 0x47d468
xor edi, edi
mov esi, dword [esp + 0x28]
cmp esi, ebx
mov byte [esp + 0x1d0], 5
jbe 0x47d4c9
mov eax, dword [esp + 0x20]
mov eax, dword [eax + esi*4 - 4]
push eax
mov ecx, edi
call fcn.006ea3e0
push 0x18
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x1d0], 7
je 0x47d4b4
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + esi*4 - 4]
push edx
mov ecx, eax
call fcn.006e0eb0
jmp 0x47d4b6
xor eax, eax
push eax
mov ecx, edi
mov byte [esp + 0x1d4], 5
call fcn.006ea1c0
dec esi
jne 0x47d478
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x47d500
push eax
mov ecx, edi
call fcn.006ea1c0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x47d500
mov esi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec esi
mov edx, esi
cmp edx, ebx
mov dword [eax], esi
jne 0x47d4fc
cmp ecx, ebx
je 0x47d4fc
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x118]
call fcn.0051ad20
push edi
lea ecx, [esp + 0x11c]
mov byte [esp + 0x1d4], 8
call fcn.006c2fd0
mov ecx, dword [esp + 0x1d8]
push 1
push ebp
push 0x789d84
push ecx
call fcn.0047d870
mov ecx, dword [0x7c9f74]
add esp, 0x10
lea eax, [ebp + 0xb]
push eax
call fcn.00493580
push ebp
lea ecx, [esp + 0x11c]
call fcn.006c4710
lea ecx, [esp + 0x118]
mov byte [esp + 0x1d0], 5
call fcn.0051ad60
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov byte [esp + 0x1d0], 4
je 0x47d594
mov esi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec esi
mov edx, esi
cmp edx, ebx
mov dword [eax], esi
jne 0x47d594
cmp ecx, ebx
je 0x47d594
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x40]
push eax
mov dword [esp + 0x40], 0x7477a0
call fcn.00727530
mov eax, dword [esp + 0x24]
add esp, 4
cmp eax, ebx
mov byte [esp + 0x1d0], 1
mov dword [esp + 0x1c], 0x7477a4
je 0x47d5de
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.0040a880
push ecx
push 4
push eax
call fcn.0072759e
push esi
call fcn.00727530
add esp, 4
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 4]
dec eax
mov byte [esp + 0x1d0], bl
mov dword [ecx + 4], eax
jne 0x47d5f8
mov edx, dword [ecx]
push 1
call dword [edx]
lea ecx, [esp + 0x68]
mov dword [esp + 0x1d0], 0xffffffff
call fcn.0051ad60
mov al, 1
mov ecx, dword [esp + 0x1c8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c4
ret