Function at 0x464450
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x543c28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebx
push ebp
push esi
push edi
call fcn.00463bb0
xor eax, eax
mov byte [esp + 0x3c], 0
mov ecx, 0x40
lea edi, [esp + 0x3d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x150]
lea eax, [esp + 0x3c]
mov edx, edi
mov ecx, eax
mov esi, 0x104
sub edx, ecx
nop
mov cl, byte [edx + eax]
test cl, cl
je 0x4644af
mov byte [eax], cl
inc eax
dec esi
jne 0x4644a0
jmp 0x4644b3
test esi, esi
jne 0x4644b4
dec eax
mov byte [eax], 0
mov ecx, 0x104
lea eax, [esp + 0x3c]
cmp byte [eax], 0
je 0x4644cb
inc eax
dec ecx
jne 0x4644c0
jmp 0x4644ed
test ecx, ecx
je 0x4644ed
mov eax, 0x104
sub eax, ecx
push str.RanOnline_
mov edx, 0x104
sub edx, eax
push edx
lea eax, [esp + eax + 0x44]
push eax
call fcn.004126e0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor ebp, ebp
push ebp
lea ecx, [esp + 0x40]
push ecx
call ebx
mov eax, 0x294ed40
mov edx, edi
mov esi, 0x104
sub edx, eax
jmp 0x464510
mov cl, byte [edx + eax]
test cl, cl
je 0x46451f
mov byte [eax], cl
inc eax
dec esi
jne 0x464510
jmp 0x464523
cmp esi, ebp
jne 0x464524
dec eax
mov byte [eax], 0
mov ecx, 0x104
mov eax, 0x294ed40
cmp byte [eax], 0
je 0x46453c
inc eax
dec ecx
jne 0x464531
jmp 0x464560
cmp ecx, ebp
je 0x464560
mov eax, 0x104
sub eax, ecx
push str.RanOnlineErrorLog_
mov edx, 0x104
sub edx, eax
push edx
lea eax, [eax + 0x294ed40]
push eax
call fcn.004126e0
push ebp
push 0x294ed40
call ebx
mov cl, byte [esp + 0x154]
mov byte [0x294ee48], cl
mov edx, 0x62a8d0
lea ebx, [ebx]
fld dword [0x5d9dcc]
xor eax, eax
mov ecx, 0xa00
lea edi, [edx - 0x2800]
rep stosd dword es:[edi], eax
mov ecx, 0x28
lea edi, [edx + 0xa0]
rep stosd dword es:[edi], eax
mov eax, edx
mov ecx, 0x28
lea esp, [esp]
fst dword [eax + 0x140]
mov dword [eax], ebp
fadd dword [0x5d4844]
add eax, 4
dec ecx
jne 0x4645b0
add edx, 0x29e4
fstp st(0)
cmp edx, 0x63f7f0
jl 0x464580
push 0x29e4
mov dword [0x294ee44], ebp
call sub.MFC71.DLL_operator_new_1
add esp, 4
or ebx, 0xffffffff
cmp eax, ebp
je 0x4645f8
mov dword [eax + 0x29e0], ebx
mov esi, eax
jmp 0x4645fa
xor esi, esi
fld dword [0x5d9dcc]
xor eax, eax
mov ecx, 0xa00
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, 0x28
lea edi, [esi + 0x28a0]
rep stosd dword es:[edi], eax
lea eax, [esi + 0x2800]
mov ecx, 0x28
jmp 0x464630
fst dword [eax + 0x140]
mov dword [eax], ebp
fadd dword [0x5d4844]
add eax, 4
dec ecx
jne 0x464630
mov edi, dword [0x63d000]
fstp st(0)
push 0xc
call sub.MFC71.DLL_operator_new_1
add esp, 4
cmp edi, ebp
mov dword [eax + 8], esi
mov dword [eax + 4], 0x63d000
mov dword [eax], edi
mov dword [0x63d000], eax
je 0x46466e
mov dword [edi + 4], eax
mov edi, dword [0x63d010]
mov edx, dword [0x63d000]
lea eax, [esp + 0x20]
inc edi
push eax
mov dword [0x63d010], edi
mov dword [0x63d00c], edx
call fcn.00463940
add esp, 4
mov ecx, eax
mov dword [esp + 0x148], ebp
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, 0x294ee68
call dword [0x5d0198]
lea ecx, [esp + 0x20]
mov dword [esp + 0x148], ebx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push ebp
call dword [sym.imp.MSVCR71.dll__time64]
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov edi, dword [sym.imp.MSVCR71.dll__localtime64]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x14c], 1
call edi
add esp, 4
cmp eax, ebp
je 0x464704
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
jmp 0x464708
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x14]
push eax
call edi
add esp, 4
cmp eax, ebp
je 0x464719
mov ebx, dword [eax + 8]
lea ecx, [esp + 0x14]
push ecx
call edi
add esp, 4
cmp eax, ebp
je 0x46472a
mov ebp, dword [eax + 0xc]
lea edx, [esp + 0x14]
push edx
call edi
add esp, 4
test eax, eax
je 0x46473e
mov esi, dword [eax + 0x10]
inc esi
jmp 0x464740
xor esi, esi
lea eax, [esp + 0x14]
push eax
call edi
add esp, 4
test eax, eax
je 0x464758
mov eax, dword [eax + 0x14]
add eax, 0x76c
jmp 0x46475a
xor eax, eax
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
push ebp
push esi
push eax
lea edx, [esp + 0x24]
push str.log._d_d_d_d_d.txt
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x1c
lea eax, [esp + 0x10]
push eax
mov ecx, 0x294ee64
call dword [0x5d0188]
mov ecx, dword [0x294ee64]
push ecx
push 0x294ed40
push str._s_s
push 0x294ee60
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [0x294ee49], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x140]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x13c
ret