Function at 0x100011d0
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100120eb
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x1001c004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScenarioEW_Arabia_1v1.scx
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmDE_Random_closed.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmDE_Random_open.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmDE_Random_pool.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Acropolis.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Arabia.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Arena.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Baltic.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Big_Freeze.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Black_Forest.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_BF_Lord.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Caribbean.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Cenotes.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Chaos_Pit.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Clearing.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Cross.rms
call fcn.1000526a
add esp, 0x40
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Forest_Prison.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Fortress.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Ghost_Lake.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Glade.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Gold_Rush.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Gold_Volcano.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Golden_Pit.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Golden_Swamp.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Gorge.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Graveyards.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Hamburger.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Hideout.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Highland.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Hillfort.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Islands.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Lombardia.rms
call fcn.1000526a
add esp, 0x40
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Mediterranean.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Mongolia.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Oasis.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Rooster.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Scandinavia.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Socotra.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Team_Acropolis.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Team_Islands.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Twin_Puddles.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Valley.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Random_closed.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Random_open.rms
call fcn.1000526a
push str.Voobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Random_pool.rms
call fcn.1000526a
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x34
nop dword [eax]
push 3
call esi
mov eax, dword [0x1001d26c]
test eax, eax
je 0x100013d0
cmp eax, 1
jne 0x100014af
push str.Voobly_ModsAOCLocal_ModsEmpire_Wars
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1000165c
push 0
call fcn.10006647
push eax
call fcn.10005258
call fcn.10001120
mov esi, eax
call fcn.10005237
cdq
idiv esi
call fcn.10001090
push eax
lea eax, [ebp - 0x74]
push 0x10019228
push eax
call fcn.10001050
add esp, 0x14
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
push 0x35
push ecx
lea ecx, [ebp - 0x8c]
call fcn.10001c10
mov dword [ebp - 4], 0
cmp byte [ebp - 0x74], 0
jne 0x10001461
xor ecx, ecx
jmp 0x10001470
lea ecx, [ebp - 0x74]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001467
sub ecx, edx
push ecx
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10001950
cmp dword [ebp - 0x78], 0x10
lea eax, [ebp - 0x8c]
push 0
cmovae eax, dword [ebp - 0x8c]
push str.Voobly_ModsAOCLocal_ModsEmpire_WarsVoobly_ModsAOCData_Mods_v1.6_Game_DataScenarioEW_Arabia_1v1.scx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp - 0x8c]
call fcn.10001730
jmp 0x1000165c
push str.Voobly_ModsAOCLocal_ModsEmpire_WarsVoobly_ModsAOCData_Mods_v1.6_Game_DataScenarioEW_Arabia_1v1.scx
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Acropolis.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Arabia.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Arena.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Baltic.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Big_Freeze.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Black_Forest.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_BF_Lord.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Caribbean.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Cenotes.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Chaos_Pit.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Clearing.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Cross.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Forest_Prison.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Fortress.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Ghost_Lake.rms
call fcn.1000526a
add esp, 0x40
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Glade.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Gold_Rush.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Gold_Volcano.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Golden_Pit.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Golden_Swamp.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Gorge.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Graveyards.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Hamburger.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Hideout.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Highland.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Hillfort.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Islands.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Lombardia.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Mediterranean.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Mongolia.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Oasis.rms
call fcn.1000526a
add esp, 0x40
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Rooster.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Scandinavia.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Socotra.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Team_Acropolis.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Team_Islands.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Twin_Puddles.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Valley.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Random_closed.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Random_open.rms
call fcn.1000526a
push str.Voobly_ModsAOCLocal_ModsHandicap_ModeVoobly_ModsAOCData_Mods_v1.6_Game_DataScript.RmH_Random_pool.rms
call fcn.1000526a
add esp, 0x28
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10002194
mov esp, ebp
pop ebp
ret