Function at 0x10101e60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015b850
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x101a7680]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xc0], eax
xorps xmm0, xmm0
mov dword [ebp - 0xa8], 0
mov dword [eax], 0
movups xmmword [eax + 0x10], xmm0
movq qword [eax + 0x20], xmm0
mov dword [eax + 0x28], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x2c], 0xffffffff
mov dword [eax + 4], 2
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
add eax, 0x3c
mov dword [ebp - 4], 0
mov dword [ebp - 0xb8], eax
mov dword [eax], 0
add eax, 4
mov dword [ebp - 0xbc], eax
mov dword [eax], 0
push 0xc
mov byte [ebp - 4], 1
call fcn.1012fb05
mov edi, eax
add esp, 4
mov dword [ebp - 0xb0], edi
test edi, edi
je 0x10101f59
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.10103230
jmp 0x10101f5b
xor edi, edi
mov esi, dword [edi]
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x44], 0x7665642d
mov byte [ebp - 0x40], 0
cmp esi, dword [edi + 4]
je 0x10101fe7
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x10101f8c
mov eax, dword [esi]
push 4
lea ecx, [ebp - 0x44]
push ecx
push dword [esi + 0x10]
push eax
call fcn.100ed5b0
add esp, 0x10
test al, al
jne 0x10101fac
add esi, 0x18
cmp esi, dword [edi + 4]
jne 0x10101f82
jmp 0x10101fe7
call dword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x10101fe7
push 1
call fcn.1013a5e5
push eax
push 0x1018f4e0
push 0x101654f0
call fcn.1013ffb7
push 2
call fcn.1013a5e5
push eax
push 0x1018f4e0
push 0x101654f0
call fcn.1013ffb7
add esp, 0x20
push 0xfde9
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, dword [ebp - 0xac]
mov byte [ebp - 4], 1
mov dword [ecx], eax
mov ecx, edi
call fcn.100fd5e0
push 0xc
push edi
call fcn.1012fb35
mov byte [ebp - 0xa8], 0
lea eax, [ebp - 0x44]
push dword [ebp - 0xa8]
push 9
push str.debug.log
push eax
call fcn.100cdca0
mov byte [ebp - 0xa8], 0
lea eax, [ebp - 0x8c]
push dword [ebp - 0xa8]
mov byte [ebp - 4], 5
push 0xb
push str..millennium
push eax
call fcn.100cdca0
mov dword [ebp - 0xa8], 0xe
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 6
push eax
call fcn.10104d80
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.100dd9f0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.100dd9f0
add esp, 0x44
mov ecx, dword [ebp - 0x90]
mov byte [ebp - 4], 0xa
cmp ecx, 7
jbe 0x101020de
mov edx, dword [ebp - 0xa4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x101020d4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10102634
push ecx
push edx
call fcn.1012fb35
add esp, 8
xor eax, eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 0xb
cmp ecx, 7
jbe 0x10102139
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1010212f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10102634
push ecx
push edx
call fcn.1012fb35
add esp, 8
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov ecx, dword [ebp - 0x78]
mov byte [ebp - 4], 0xc
cmp ecx, 7
jbe 0x1010218e
mov edx, dword [ebp - 0x8c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10102184
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10102634
push ecx
push edx
call fcn.1012fb35
add esp, 8
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 0xd
cmp ecx, 7
jbe 0x101021e3
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x101021d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10102634
push ecx
push edx
call fcn.1012fb35
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x48], 7
lea edi, [ebp - 0x5c]
mov word [ebp - 0x44], ax
cmova edi, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x30], 7
mov byte [ebp - 4], 0xe
lea esi, [edi + eax*2]
push esi
push edi
call fcn.100e05e0
add esp, 8
cmp eax, esi
je 0x10102275
nop word [eax + eax]
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x1010222d
cmp ecx, 0x2f
jne 0x10102234
add eax, 2
cmp eax, esi
jne 0x10102220
cmp eax, esi
je 0x10102275
nop dword [eax + eax]
movzx edx, word [esi - 2]
cmp edx, 0x5c
je 0x10102257
cmp edx, 0x2f
je 0x10102257
add esi, 0xfffffffe
cmp eax, esi
jne 0x10102240
jmp 0x10102275
cmp eax, esi
je 0x10102275
nop dword [eax + eax]
movzx edx, word [esi - 2]
cmp edx, 0x5c
je 0x1010226e
cmp edx, 0x2f
jne 0x10102275
add esi, 0xfffffffe
cmp eax, esi
jne 0x10102260
sub esi, edi
mov dword [ebp - 0x1c], 0
sar esi, 1
lea ecx, [ebp - 0x2c]
push esi
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push edi
movups xmmword [ebp - 0x2c], xmm0
call fcn.100f55c0
mov edi, 0x7e
mov dword [ebp - 0xa8], edi
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xb4], 0
push eax
mov dword [ebp - 0xb0], 0x101a7038
call fcn.101036f0
add esp, 8
cmp dword [ebp - 0xb4], 0
jne 0x10102639
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0xe
cmp ecx, 7
jbe 0x101023b6
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10102313
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010264e
push ecx
push edx
call fcn.1012fb35
add esp, 8
jmp 0x101023b6
push 0xc0
mov dword [ebp - 4], 0xd
call fcn.1012fb05
add esp, 4
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x10102436
xorps xmm0, xmm0
lea esi, [eax + 0x10]
movq qword [eax], xmm0
mov ecx, esi
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj2_class_std::basic_ofstream_char__struct_std::char_traits_char___.0
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 7
push 1
cmova eax, dword [ebp - 0x5c]
push 0x40
push 2
push eax
call fcn.10101c30
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [esi + ecx - 4], eax
mov ecx, dword [ebp - 0xb0]
jmp 0x10102438
xor ecx, ecx
mov edx, dword [ebp - 0xb8]
lea eax, [ecx + 0x10]
or edi, 0x80
mov byte [ebp - 4], 0xd
mov dword [edx], eax
mov eax, dword [ebp - 0xbc]
mov esi, dword [eax]
mov dword [eax], ecx
test esi, esi
je 0x1010247c
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1010247c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1010247c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax]
cmp dword [eax + 0x50], 0
jne 0x1010260a
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb8], 0x2f
lea ecx, [ebp - 0x2c]
xorps xmm0, xmm0
push eax
push ecx
movups xmmword [ebp - 0x2c], xmm0
call fcn.100cdb50
movups xmm0, xmmword [str.Couldnt_open_output_log_stream.]
mov ecx, eax
mov dword [ebp - 0x1c], 0x20
mov eax, dword [ebp - 0xb8]
add esp, 8
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], eax
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x1016554c]
movups xmmword [ecx + 0x10], xmm0
mov byte [ecx + 0x20], 0
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push 4
push dword [0x101ace50]
mov byte [ebp - 4], 0x12
call esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x74]
call fcn.100daea0
push eax
sub esp, 0x18
mov byte [ebp - 4], 0x13
mov ecx, esp
xorps xmm0, xmm0
or edi, 0x100
mov dword [ebp - 0xa8], edi
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 9
mov dword [ecx + 0x14], 0xf
movq xmm0, qword [str.__error_]
movq qword [ecx], xmm0
mov al, byte [0x10161944]
mov byte [ecx + 8], al
mov byte [ecx + 9], 0
mov ecx, 0x101ace50
call fcn.10103430
test edi, 0x200
je 0x10102594
mov ecx, dword [ebp - 0xbc]
and edi, 0xfffffdff
cmp ecx, 0xf
jbe 0x10102594
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010258a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10102653
push ecx
push edx
call fcn.1012fb35
add esp, 8
test edi, 0x100
je 0x101025d0
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x101025d0
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101025c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10102653
push ecx
push edx
call fcn.1012fb35
add esp, 8
push 7
push dword [0x101ace50]
call esi
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1010260a
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10102600
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10102658
push ecx
push edx
call fcn.1012fb35
add esp, 8
lea ecx, [ebp - 0x5c]
call fcn.100dca30
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1012fb43
mov esp, ebp
pop ebp
ret
call fcn.101355d8
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xb4]
push eax
push str.create_directories
call fcn.100f69d0
call fcn.101355d8
call fcn.101355d8
call fcn.101355d8
int3