Function at 0x417dd0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x476868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push ebp
push esi
push edi
call fcn.00417810
xor eax, eax
mov byte [esp + 0x38], 0
mov ecx, 0x40
lea edi, [esp + 0x39]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x14c]
lea eax, [esp + 0x38]
mov edx, edi
mov ecx, eax
mov esi, 0x104
sub edx, ecx
nop
mov cl, byte [edx + eax]
test cl, cl
je 0x417e2f
mov byte [eax], cl
inc eax
dec esi
jne 0x417e20
jmp 0x417e33
test esi, esi
jne 0x417e34
dec eax
mov byte [eax], 0
mov ecx, 0x104
lea eax, [esp + 0x38]
cmp byte [eax], 0
je 0x417e4b
inc eax
dec ecx
jne 0x417e40
jmp 0x417e6d
test ecx, ecx
je 0x417e6d
mov eax, 0x104
sub eax, ecx
push str.New_Ran_IMBA_
mov edx, 0x104
sub edx, eax
push edx
lea eax, [esp + eax + 0x40]
push eax
call fcn.00401e90
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
lea ecx, [esp + 0x3c]
push ecx
call ebx
mov eax, 0x4db5e0
mov edx, edi
mov esi, 0x104
sub edx, eax
lea ebx, [ebx]
mov cl, byte [edx + eax]
test cl, cl
je 0x417e9f
mov byte [eax], cl
inc eax
dec esi
jne 0x417e90
jmp 0x417ea3
test esi, esi
jne 0x417ea4
dec eax
mov byte [eax], 0
mov ecx, 0x104
mov eax, 0x4db5e0
cmp byte [eax], 0
je 0x417ebc
inc eax
dec ecx
jne 0x417eb1
jmp 0x417ee0
test ecx, ecx
je 0x417ee0
mov eax, 0x104
sub eax, ecx
push str.New_Ran_IMBAerrlog_
mov edx, 0x104
sub edx, eax
push edx
lea eax, [eax + 0x4db5e0]
push eax
call fcn.00401e90
push 0
push 0x4db5e0
call ebx
mov cl, byte [esp + 0x150]
mov byte [0x4db6e8], cl
mov edx, 0x4ae728
jmp 0x417f00
fld dword [0x482024]
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], 0
fadd dword [0x482020]
add eax, 4
dec ecx
jne 0x417f30
add edx, 0x29e4
fstp st(0)
cmp edx, 0x4c3648
jl 0x417f00
push 0x29e4
mov dword [0x4db6e4], 0
call sub.MFC71.DLL_operator_new_1
add esp, 4
or ebp, 0xffffffff
test eax, eax
je 0x417f80
mov dword [eax + 0x29e0], ebp
mov esi, eax
jmp 0x417f82
xor esi, esi
fld dword [0x482024]
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 0x417fb0
fst dword [eax + 0x140]
mov dword [eax], 0
fadd dword [0x482020]
add eax, 4
dec ecx
jne 0x417fb0
mov edi, dword [0x4c0e58]
fstp st(0)
push 0xc
call sub.MFC71.DLL_operator_new_1
add esp, 4
test edi, edi
mov dword [eax + 8], esi
mov dword [eax + 4], 0x4c0e58
mov dword [eax], edi
mov dword [0x4c0e58], eax
je 0x417ff2
mov dword [edi + 4], eax
mov edi, dword [0x4c0e68]
mov edx, dword [0x4c0e58]
lea eax, [esp + 0x1c]
inc edi
push eax
mov dword [0x4c0e68], edi
mov dword [0x4c0e64], edx
call fcn.004175e0
add esp, 4
cmp dword [eax + 0x18], 0x10
mov dword [esp + 0x144], 0
jb 0x41802e
mov eax, dword [eax + 4]
jmp 0x418031
add eax, 4
push eax
mov ecx, 0x4db6f8
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x144], ebp
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 0
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 [0x47e138]
mov edi, dword [sym.imp.MSVCR71.dll__localtime64]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x148], 1
call edi
add esp, 4
test eax, eax
je 0x41808f
mov ebx, dword [eax + 4]
jmp 0x418091
mov ebx, ebp
lea edx, [esp + 0x14]
push edx
call edi
add esp, 4
test eax, eax
je 0x4180a2
mov ebp, dword [eax + 8]
lea eax, [esp + 0x14]
push eax
call edi
add esp, 4
test eax, eax
je 0x4180b6
mov esi, dword [eax + 0x10]
inc esi
jmp 0x4180b8
xor esi, esi
lea ecx, [esp + 0x14]
push ecx
call edi
add esp, 4
test eax, eax
je 0x4180d0
mov eax, dword [eax + 0x14]
add eax, 0x76c
jmp 0x4180d2
xor eax, eax
push ebx
push ebp
push 0x4174d0
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, 0x4db708
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
mov ecx, dword [0x4db708]
push ecx
push 0x4db5e0
push 0x47f654
push 0x4db70c
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [0x4db6e9], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret