Function at 0x4176f0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4649e8
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.00417230
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 0x41774f
mov byte [eax], cl
inc eax
dec esi
jne 0x417740
jmp 0x417753
test esi, esi
jne 0x417754
dec eax
mov byte [eax], 0
mov ecx, 0x104
lea eax, [esp + 0x3c]
cmp byte [eax], 0
je 0x41776b
inc eax
dec ecx
jne 0x417760
jmp 0x41778d
test ecx, ecx
je 0x41778d
mov eax, 0x104
sub eax, ecx
push str.BossRan_
mov edx, 0x104
sub edx, eax
push edx
lea eax, [esp + eax + 0x44]
push eax
call fcn.00401de0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor ebp, ebp
push ebp
lea ecx, [esp + 0x40]
push ecx
call ebx
mov eax, 0x4b4880
mov edx, edi
mov esi, 0x104
sub edx, eax
jmp 0x4177b0
mov cl, byte [edx + eax]
test cl, cl
je 0x4177bf
mov byte [eax], cl
inc eax
dec esi
jne 0x4177b0
jmp 0x4177c3
cmp esi, ebp
jne 0x4177c4
dec eax
mov byte [eax], 0
mov ecx, 0x104
mov eax, 0x4b4880
cmp byte [eax], 0
je 0x4177dc
inc eax
dec ecx
jne 0x4177d1
jmp 0x417800
cmp ecx, ebp
je 0x417800
mov eax, 0x104
sub eax, ecx
push str.BossRanerrlog_
mov edx, 0x104
sub edx, eax
push edx
lea eax, [eax + 0x4b4880]
push eax
call fcn.00401de0
push ebp
push 0x4b4880
call ebx
mov cl, byte [esp + 0x154]
mov byte [0x4b4988], cl
mov edx, 0x487718
lea ebx, [ebx]
fld dword [0x471e9c]
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 [0x471e98]
add eax, 4
dec ecx
jne 0x417850
add edx, 0x29e4
fstp st(0)
cmp edx, 0x49c638
jl 0x417820
push 0x29e4
mov dword [0x4b4984], ebp
call sub.MFC71.DLL_operator_new_1
add esp, 4
or ebx, 0xffffffff
cmp eax, ebp
je 0x417898
mov dword [eax + 0x29e0], ebx
mov esi, eax
jmp 0x41789a
xor esi, esi
fld dword [0x471e9c]
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 0x4178d0
fst dword [eax + 0x140]
mov dword [eax], ebp
fadd dword [0x471e98]
add eax, 4
dec ecx
jne 0x4178d0
mov edi, dword [0x499e48]
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], 0x499e48
mov dword [eax], edi
mov dword [0x499e48], eax
je 0x41790e
mov dword [edi + 4], eax
mov edi, dword [0x499e58]
mov edx, dword [0x499e48]
lea eax, [esp + 0x20]
inc edi
push eax
mov dword [0x499e58], edi
mov dword [0x499e54], edx
call fcn.00417000
add esp, 4
cmp dword [eax + 0x18], 0x10
mov dword [esp + 0x148], ebp
jb 0x417946
mov eax, dword [eax + 4]
jmp 0x417949
add eax, 4
push eax
mov ecx, 0x4b4998
call dword [0x46e374]
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 [0x46e148]
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 0x4179aa
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
jmp 0x4179ae
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x14]
push eax
call edi
add esp, 4
cmp eax, ebp
je 0x4179bf
mov ebx, dword [eax + 8]
lea ecx, [esp + 0x14]
push ecx
call edi
add esp, 4
cmp eax, ebp
je 0x4179d0
mov ebp, dword [eax + 0xc]
lea edx, [esp + 0x14]
push edx
call edi
add esp, 4
test eax, eax
je 0x4179e4
mov esi, dword [eax + 0x10]
inc esi
jmp 0x4179e6
xor esi, esi
lea eax, [esp + 0x14]
push eax
call edi
add esp, 4
test eax, eax
je 0x4179fe
mov eax, dword [eax + 0x14]
add eax, 0x76c
jmp 0x417a00
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, 0x4b49a8
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
mov ecx, dword [0x4b49a8]
push ecx
push 0x4b4880
push 0x46f6e4
push 0x4b49ac
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [0x4b4989], 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