Function at 0x417cf0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x476b28
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.00417730
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 0x417d4f
mov byte [eax], cl
inc eax
dec esi
jne 0x417d40
jmp 0x417d53
test esi, esi
jne 0x417d54
dec eax
mov byte [eax], 0
mov ecx, 0x104
lea eax, [esp + 0x3c]
cmp byte [eax], 0
je 0x417d6b
inc eax
dec ecx
jne 0x417d60
jmp 0x417d8d
test ecx, ecx
je 0x417d8d
mov eax, 0x104
sub eax, ecx
push str.Ran_IMBA_Season_2_
mov edx, 0x104
sub edx, eax
push edx
lea eax, [esp + eax + 0x44]
push eax
call fcn.00401e80
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor ebp, ebp
push ebp
lea ecx, [esp + 0x40]
push ecx
call ebx
mov eax, 0x4dc600
mov edx, edi
mov esi, 0x104
sub edx, eax
jmp 0x417db0
mov cl, byte [edx + eax]
test cl, cl
je 0x417dbf
mov byte [eax], cl
inc eax
dec esi
jne 0x417db0
jmp 0x417dc3
cmp esi, ebp
jne 0x417dc4
dec eax
mov byte [eax], 0
mov ecx, 0x104
mov eax, 0x4dc600
cmp byte [eax], 0
je 0x417ddc
inc eax
dec ecx
jne 0x417dd1
jmp 0x417e00
cmp ecx, ebp
je 0x417e00
mov eax, 0x104
sub eax, ecx
push str.Ran_IMBA_Season_2errlog_
mov edx, 0x104
sub edx, eax
push edx
lea eax, [eax + 0x4dc600]
push eax
call fcn.00401e80
push ebp
push 0x4dc600
call ebx
mov cl, byte [esp + 0x154]
mov byte [0x4dc708], cl
mov edx, 0x4af740
lea ebx, [ebx]
fld dword [0x48305c]
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 [0x483058]
add eax, 4
dec ecx
jne 0x417e50
add edx, 0x29e4
fstp st(0)
cmp edx, 0x4c4660
jl 0x417e20
push 0x29e4
mov dword [0x4dc704], ebp
call sub.MFC71.DLL_operator_new_1
add esp, 4
or ebx, 0xffffffff
cmp eax, ebp
je 0x417e98
mov dword [eax + 0x29e0], ebx
mov esi, eax
jmp 0x417e9a
xor esi, esi
fld dword [0x48305c]
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 0x417ed0
fst dword [eax + 0x140]
mov dword [eax], ebp
fadd dword [0x483058]
add eax, 4
dec ecx
jne 0x417ed0
mov edi, dword [0x4c1e70]
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], 0x4c1e70
mov dword [eax], edi
mov dword [0x4c1e70], eax
je 0x417f0e
mov dword [edi + 4], eax
mov edi, dword [0x4c1e80]
mov edx, dword [0x4c1e70]
lea eax, [esp + 0x20]
inc edi
push eax
mov dword [0x4c1e80], edi
mov dword [0x4c1e7c], edx
call fcn.00417500
add esp, 4
cmp dword [eax + 0x18], 0x10
mov dword [esp + 0x148], ebp
jb 0x417f46
mov eax, dword [eax + 4]
jmp 0x417f49
add eax, 4
push eax
mov ecx, 0x4dc734
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
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 [0x47f138]
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 0x417faa
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
jmp 0x417fae
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x14]
push eax
call edi
add esp, 4
cmp eax, ebp
je 0x417fbf
mov ebx, dword [eax + 8]
lea ecx, [esp + 0x14]
push ecx
call edi
add esp, 4
cmp eax, ebp
je 0x417fd0
mov ebp, dword [eax + 0xc]
lea edx, [esp + 0x14]
push edx
call edi
add esp, 4
test eax, eax
je 0x417fe4
mov esi, dword [eax + 0x10]
inc esi
jmp 0x417fe6
xor esi, esi
lea eax, [esp + 0x14]
push eax
call edi
add esp, 4
test eax, eax
je 0x417ffe
mov eax, dword [eax + 0x14]
add eax, 0x76c
jmp 0x418000
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, 0x4dc770
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
mov ecx, dword [0x4dc770]
push ecx
push 0x4dc600
push 0x48066c
push 0x4dc774
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [0x4dc709], 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