Function at 0x46ef00
Capabilities:
Create directory

Disassembly:
sub esp, 0x464
mov eax, dword [0x54a2b0]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x478]
push edi
push edi
push 0x503ad8
mov dword [esp + 0x47c], eax
lea eax, [esp + 0x170]
push 0x503ae8
push eax
mov dword [esp + 0x28], ecx
call fcn.004c2e53
push edi
push edi
push 0x503af4
lea ecx, [esp + 0x288]
push 0x503b04
push ecx
call fcn.004c2e53
push edi
push 0x503b10
lea edx, [esp + 0x39c]
push str._s__d0_00
push edx
call fcn.004c2e53
lea eax, [esp + 0x19c]
push 0x503b2c
push eax
call fcn.004c3472
add esp, 0x40
lea ecx, [esp + 0x268]
push 0x503b30
push ecx
mov esi, eax
call fcn.004c3472
lea edx, [esp + 0x374]
push 0x503b34
push edx
mov ebx, eax
call fcn.004c3472
add esp, 0x10
test esi, esi
mov ebp, eax
je 0x46efdc
test ebx, ebx
je 0x46efd3
test ebp, ebp
je 0x46efd3
push esi
call fcn.004c3240
push ebx
call fcn.004c3240
push ebp
call fcn.004c3240
add esp, 0xc
jmp 0x46f253
push esi
call fcn.004c3240
add esp, 4
test ebx, ebx
je 0x46efe9
push ebx
call fcn.004c3240
add esp, 4
test ebp, ebp
je 0x46eff6
push ebp
call fcn.004c3240
add esp, 4
push edi
lea eax, [esp + 0x64]
push str.medialeveldatalevelsleveldata_03d.dat
push eax
call fcn.004c2e53
lea ecx, [esp + 0x6c]
push 0x503b64
push ecx
call fcn.004c3472
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x46f028
push 0x503b68
jmp 0x46f24a
push esi
call fcn.004c33c6
push esi
mov bl, al
call fcn.004c33c6
push esi
mov byte [esp + 0x1e], al
call fcn.004c33c6
push esi
mov byte [esp + 0x23], al
call fcn.004c33c6
add esp, 0x10
cmp bl, 0x4c
jne 0x46f245
cmp byte [esp + 0x12], 0x44
jne 0x46f245
cmp byte [esp + 0x13], 0x30
jne 0x46f245
cmp al, 0x31
jne 0x46f245
push esi
push 1
lea edx, [esp + 0x30]
push 4
push edx
call fcn.004c337a
push esi
push 1
lea eax, [esp + 0x4c]
push 4
push eax
call fcn.004c337a
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004c15cb
mov edx, dword [esp + 0x4c]
push edx
mov dword [esp + 0x40], eax
call fcn.004c15cb
mov ebx, eax
mov al, byte [esi + 0xc]
add esp, 0x28
xor ebp, ebp
test al, 0x10
mov dword [esp + 0x24], ebx
jne 0x46f0dd
lea esp, [esp]
push esi
call fcn.004c33c6
add esp, 4
cmp eax, 0xffffffff
je 0x46f0d5
mov ecx, dword [esp + 0x18]
mov byte [ecx + ebp], al
mov al, byte [esi + 0xc]
inc ebp
test al, 0x10
je 0x46f0c0
push esi
call fcn.004c3240
push edi
push 0x503ba0
lea edx, [esp + 0x6c]
push str._s__d
push edx
call fcn.004c2e53
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0x14
push 0
push 0x503bb8
call esi
push 0
push 0x503bc0
call esi
push 0
lea eax, [esp + 0x64]
push eax
call esi
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
push ebp
push edx
lea eax, [esp + 0x34]
push eax
push ebx
mov dword [esp + 0x3c], ecx
call fcn.004befa0
movzx eax, byte [ebx]
lea ecx, [eax + eax*4]
lea edx, [ecx*8 + 4]
add esp, 0x10
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], 0
lea esi, [ebx + 4]
jmp 0x46f161
mov edi, dword [esp + 0x478]
push 0x1f
lea eax, [esp + 0x40]
push esi
push eax
call fcn.004c30d0
mov ebx, dword [esp + 0x20]
add esi, 0x20
mov eax, esi
mov edx, dword [eax]
add esi, 4
mov ecx, esi
mov ebp, dword [ecx]
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
mov ecx, ebx
add esi, 4
mov dword [esp + 0x20], edx
call fcn.0046e470
lea ecx, [esp + 0x3c]
push ecx
push edi
push 0x503bd0
lea edx, [esp + 0x6c]
push str._s__d_s
push edx
call fcn.004c2e53
lea eax, [esp + 0x74]
push 0x503bec
push eax
call fcn.004c3472
mov edi, eax
add esp, 0x1c
test edi, edi
jne 0x46f1d4
push 0x503bf0
mov ecx, ebx
call fcn.0046eb10
xor ebx, ebx
test ebp, ebp
jle 0x46f207
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
add ecx, edx
add ecx, eax
mov dword [esp + 0x1c], ecx
mov edi, edi
mov ecx, dword [esp + 0x1c]
movzx edx, byte [ecx + ebx]
push edi
push edx
call fcn.004c34cd
add esp, 8
inc ebx
cmp ebx, ebp
jl 0x46f1f0
push edi
call fcn.004c3240
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
add esp, 4
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x46f15a
mov eax, dword [esp + 0x18]
test eax, eax
je 0x46f236
push eax
call fcn.004c2c15
add esp, 4
mov eax, dword [esp + 0x24]
push eax
call fcn.004c2c15
add esp, 4
jmp 0x46f253
push 0x503b84
mov ecx, dword [esp + 0x18]
call fcn.0046eb10
mov ecx, dword [esp + 0x470]
pop edi
pop esi
pop ebp
pop ebx
call fcn.004c2e45
add esp, 0x464
ret 4