Function at 0x42b860
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a19eb
mov eax, dword fs:[0]
push eax
mov eax, 0x100c
call fcn.00497d20
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ebx, ebx
cmp dword [esi + 0x24f8], ebx
jne 0x42b8ad
push ebx
push ebx
push ebx
push ebx
call edi
mov dword [esi + 0x24f8], eax
cmp dword [esi + 0x24fc], ebx
jne 0x42b8c2
push ebx
push ebx
push 1
push ebx
call edi
mov dword [esi + 0x24fc], eax
cmp dword [esi + 0x2500], ebx
jne 0x42b8d7
push ebx
push ebx
push 1
push ebx
call edi
mov dword [esi + 0x2500], eax
cmp dword [esi + 0x24f4], ebx
jne 0x42b8eb
push ebx
push ebx
push ebx
push ebx
call edi
mov dword [esi + 0x24f4], eax
push 0xffe
lea ecx, [ebp - 0x1012]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x1014], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x1014]
push 0x800
push edx
call dword [sym.imp.HFUILib.dll_public:_static_struct_HINSTANCE______cdecl_CPaintManagerUI::GetResourceInstance_void_]
push eax
call fcn.0045b1e0
add esp, 0xc
test eax, eax
je 0x42bac1
mov edi, dword [sym.imp.MSVCR100.dll_wcscat_s]
push str.data_
lea eax, [ebp - 0x1014]
push 0x800
push eax
call edi
add esp, 0xc
push ebx
lea ecx, [ebp - 0x1014]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.hfgameworld.dat
lea edx, [ebp - 0x1014]
push 0x800
push edx
call edi
add esp, 0xc
push 0x1018
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
cmp eax, ebx
je 0x42b988
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov edi, eax
jmp 0x42b98a
xor edi, edi
mov eax, dword [esi + 4]
mov dword [edi], eax
mov ecx, dword [esi + 0x24fc]
mov dword [edi + 4], ecx
mov edx, dword [esi + 0x24f8]
mov dword [edi + 8], edx
mov eax, dword [esi + 0x24f4]
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x1014]
lea ecx, [esi + 0x2518]
push eax
mov dword [edi + 0x10], ecx
lea ecx, [edi + 0x14]
lea edx, [esi + 0x2530]
push 0x800
push ecx
mov dword [edi + 0x1014], edx
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
push edi
call fcn.00473d30
add esp, 4
cmp byte [ebp + 8], bl
je 0x42b9ef
mov ebx, esi
call fcn.004271b0
xor ebx, ebx
mov edx, dword [esi + 0x26c0]
push ebx
push 0x4ab248
push edx
push ebx
lea ecx, [esi + 0x26b0]
call fcn.00409200
test eax, eax
je 0x42ba92
mov eax, dword [esi + 0x26c0]
push 1
push 0x4b1a24
push eax
push ebx
lea ecx, [esi + 0x26b0]
call fcn.00409200
test eax, eax
jne 0x42ba39
push esi
mov ecx, str.gamelive
call fcn.00438920
cmp dword [esi + 0x26e0], 8
lea edi, [esi + 0x26cc]
jb 0x42ba4a
mov edi, dword [edi]
lea ecx, [ebp - 0x1018]
push ecx
call fcn.0040fce0
mov dword [ebp - 4], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x42ba63
mov edi, dword [eax]
jmp 0x42ba65
xor edi, edi
push 0xffffffffffffffff
push 3
push edi
mov ecx, esi
call fcn.00423b90
test eax, eax
jne 0x42ba85
push ebx
push 0xffffffffffffffff
push esi
mov ecx, 0x4ab248
mov edx, edi
call fcn.00420810
lea edi, [ebp - 0x1018]
call fcn.0040fd80
jmp 0x42bac1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1018], esp
push 0xffffffffffffffff
push ebx
lea eax, [esi + 0x263c]
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push eax
mov word [ecx], dx
call fcn.00402530
push esi
call fcn.004246a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret 4