Function at 0x414420
Capabilities:
Create directory

Disassembly:
sub esp, 0x78
push esi
push 0
push 0xbca2b8
push str.Pharaohmap.inf
call fcn.004ceb60
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
mov dword [0xe38e94], 0x10
mov dword [0x5e06d0], 1
push 0
push str.Save
call esi
push 0
push str.Maps
call esi
mov eax, dword [0xe38dac]
pop esi
imul eax, dword [0xe38db0]
shl eax, 1
cmp eax, 0x124f80
jg 0x41447f
mov eax, 0x124f80
push eax
call fcn.00561b68
mov dword [0xe92e1c], eax
mov eax, str.LibMainDummy
add esp, 4
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea eax, [esp]
mov ecx, 0xf55bb0
push eax
mov dword [esp + 4], str.Pharaoh_Unloaded
mov dword [esp + 8], str.SprMain
mov dword [esp + 0xc], str.Hyksos
mov dword [esp + 0x10], str.Pharaoh_General
mov dword [esp + 0x14], str.Pharaoh_Terrain
mov dword [esp + 0x18], str.SPHINX1A
mov dword [esp + 0x1c], str.SPHINX1B
mov dword [esp + 0x20], str.SPHINX1C
mov dword [esp + 0x24], str.SPHINX1D
mov dword [esp + 0x28], str.SPHINX_EXTRA
mov dword [esp + 0x2c], str.TEMPLE_NILE
mov dword [esp + 0x30], str.empire
mov dword [esp + 0x34], str.SprAmbient
mov dword [esp + 0x38], str.Pharaoh_Fonts
mov dword [esp + 0x3c], str.Egyptian
mov dword [esp + 0x40], str.SprMain2
mov dword [esp + 0x44], str.expansion
mov dword [esp + 0x48], str.PyramidDummy
mov dword [esp + 0x4c], str.CaesareumDummy
mov dword [esp + 0x50], str.LtHouseDummy
mov dword [esp + 0x60], str.LibExtra
mov dword [esp + 0x64], str.MausCarryoverDummy
mov dword [esp + 0x68], str.TombThutDummy
mov dword [esp + 0x6c], str.AbuSimbelDummy
mov dword [esp + 0x70], str.TombTutDummy
mov dword [esp + 0x74], str.TombSetiDummy
mov dword [esp + 0x78], str.TombRamDummy
call fcn.0053dd10
push 0
call fcn.00520b20
push 7
push 0xb
call fcn.004cc110
mov ecx, dword [0xe20768]
push ecx
call fcn.004cf7b0
push 1
call fcn.004d0280
mov edx, dword [0xe20768]
push edx
call fcn.004cf7b0
mov eax, dword [0xe92e1c]
add esp, 0x18
test eax, eax
jne 0x4145c9
mov eax, 1
add esp, 0x78
ret
lea eax, [esp]
mov ecx, 0xf55bb0
push eax
call fcn.0053dd10
push 1
call fcn.00520b20
push 8
push 0xb
call fcn.004cc110
mov ecx, dword [0xe20768]
push ecx
call fcn.004cf7b0
push 1
call fcn.004d0280
mov edx, dword [0xe20768]
push edx
call fcn.004cf7b0
add esp, 0x18
lea eax, [esp]
mov ecx, 0xf55bb0
push eax
call fcn.0053dd10
push 2
call fcn.00520b20
push 9
push 0xb
call fcn.004cc110
mov ecx, dword [0xe20768]
push ecx
call fcn.004cf7b0
push 1
call fcn.004d0280
mov edx, dword [0xe20768]
push edx
call fcn.004cf7b0
add esp, 0x18
lea eax, [esp]
mov ecx, 0xf55bb0
push eax
call fcn.0053dd10
lea ecx, [esp]
push ecx
mov ecx, 0xf55bb0
call fcn.0053dd10
lea edx, [esp]
mov ecx, 0xf55bb0
push edx
call fcn.0053dd10
lea eax, [esp]
mov ecx, 0xf55bb0
push eax
call fcn.0053dd10
lea ecx, [esp]
push ecx
mov ecx, 0xf55bb0
call fcn.0053dd10
push 3
call fcn.00520b20
push 0xa
push 0xb
call fcn.004cc110
mov edx, dword [0xe20768]
push edx
call fcn.004cf7b0
push 1
call fcn.004d0280
mov eax, dword [0xe20768]
push eax
call fcn.004cf7b0
add esp, 0x18
lea ecx, [esp]
push ecx
mov ecx, 0xf55bb0
call fcn.0053dd40
push 3
call fcn.00520b20
push 0xb
push 0xb
call fcn.004cc110
mov edx, dword [0xe20768]
push edx
call fcn.004cf7b0
push 1
call fcn.004d0280
mov eax, dword [0xe20768]
push eax
call fcn.004cf7b0
call fcn.00520af0
push 1
call fcn.004d0280
push 0
push 0
push str.OK_:Setup_loaded_DAT_files.
call fcn.004ce6e0
add esp, 0x28
xor eax, eax
add esp, 0x78
ret