Function at 0x10102570
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a1fc0
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x101f8740]
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.10172825
mov edi, eax
add esp, 4
mov dword [ebp - 0xb0], edi
test edi, edi
je 0x10102669
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.100e8830
jmp 0x1010266b
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 0x101026f7
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x1010269c
mov eax, dword [esi]
push 4
lea ecx, [ebp - 0x44]
push ecx
push dword [esi + 0x10]
push eax
call fcn.100d13f0
add esp, 0x10
test al, al
jne 0x101026bc
add esi, 0x18
cmp esi, dword [edi + 4]
jne 0x10102692
jmp 0x101026f7
call dword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x101026f7
push 1
call fcn.10181d55
push eax
push 0x101e0488
push 0x101ab648
call fcn.101833ee
push 2
call fcn.10181d55
push eax
push 0x101e0488
push 0x101ab648
call fcn.101833ee
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.100ea870
push 0xc
push edi
call fcn.10172855
mov byte [ebp - 0xa8], 0
lea eax, [ebp - 0x44]
push dword [ebp - 0xa8]
push 9
push str.debug.log
push eax
call fcn.100ce9d0
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.100ce9d0
mov dword [ebp - 0xa8], 0xe
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 6
push eax
call fcn.10105270
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.100e6010
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.100e6010
add esp, 0x44
mov ecx, dword [ebp - 0x90]
mov byte [ebp - 4], 0xa
cmp ecx, 7
jbe 0x101027ee
mov edx, dword [ebp - 0xa4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x101027e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10102d44
push ecx
push edx
call fcn.10172855
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 0x10102849
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1010283f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10102d44
push ecx
push edx
call fcn.10172855
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 0x1010289e
mov edx, dword [ebp - 0x8c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10102894
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10102d44
push ecx
push edx
call fcn.10172855
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 0x101028f3
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x101028e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10102d44
push ecx
push edx
call fcn.10172855
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.100e9660
add esp, 8
cmp eax, esi
je 0x10102985
nop word [eax + eax]
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x1010293d
cmp ecx, 0x2f
jne 0x10102944
add eax, 2
cmp eax, esi
jne 0x10102930
cmp eax, esi
je 0x10102985
nop dword [eax + eax]
movzx edx, word [esi - 2]
cmp edx, 0x5c
je 0x10102967
cmp edx, 0x2f
je 0x10102967
add esi, 0xfffffffe
cmp eax, esi
jne 0x10102950
jmp 0x10102985
cmp eax, esi
je 0x10102985
nop dword [eax + eax]
movzx edx, word [esi - 2]
cmp edx, 0x5c
je 0x1010297e
cmp edx, 0x2f
jne 0x10102985
add esi, 0xfffffffe
cmp eax, esi
jne 0x10102970
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.100ce930
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], 0x101f8040
call fcn.10103be0
add esp, 8
cmp dword [ebp - 0xb4], 0
jne 0x10102d49
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0xe
cmp ecx, 7
jbe 0x10102ac6
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10102a23
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10102d5e
push ecx
push edx
call fcn.10172855
add esp, 8
jmp 0x10102ac6
push 0xc0
mov dword [ebp - 4], 0xd
call fcn.10172825
add esp, 4
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x10102b46
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.10102340
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 0x10102b48
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 0x10102b8c
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x10102b8c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x10102b8c
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 0x10102d1a
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.100ce7e0
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 [0x101ab6a4]
movups xmmword [ecx + 0x10], xmm0
mov byte [ecx + 0x20], 0
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push 4
push dword [0x101fdf10]
mov byte [ebp - 4], 0x12
call esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x74]
call fcn.100e1d80
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 [0x101a7b0c]
mov byte [ecx + 8], al
mov byte [ecx + 9], 0
mov ecx, 0x101fdf10
call fcn.10103920
test edi, 0x200
je 0x10102ca4
mov ecx, dword [ebp - 0xbc]
and edi, 0xfffffdff
cmp ecx, 0xf
jbe 0x10102ca4
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10102c9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10102d63
push ecx
push edx
call fcn.10172855
add esp, 8
test edi, 0x100
je 0x10102ce0
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x10102ce0
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10102cd6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10102d63
push ecx
push edx
call fcn.10172855
add esp, 8
push 7
push dword [0x101fdf10]
call esi
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10102d1a
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10102d10
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10102d68
push ecx
push edx
call fcn.10172855
add esp, 8
lea ecx, [ebp - 0x5c]
call fcn.100e42e0
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.10172863
mov esp, ebp
pop ebp
ret
call fcn.10178468
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xb4]
push eax
push str.create_directories
call fcn.10100fc0
call fcn.10178468
call fcn.10178468
call fcn.10178468
int3