Function at 0x4123b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478a9e
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x49c100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
push 0x98
mov dword [edi], vtable.spdlog::sinks::base_sink_class_std::mutex_.0
call fcn.00475da2
mov esi, eax
mov dword [ebp - 0x14], esi
push 0x98
push 0
push esi
mov byte [ebp - 4], 1
call sub.VCRUNTIME140.dll_memset
sub esp, 8
xorps xmm0, xmm0
mov ecx, esp
push 2
movups xmmword [ecx], xmm0
push 0x48889c
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040af40
push ecx
mov ecx, esi
call fcn.004039b0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
mov dword [edi + 8], eax
call fcn.00406390
xorps xmm0, xmm0
movups xmmword [edi + 0x18], xmm0
movq qword [edi + 0x28], xmm0
mov dword [edi + 0x30], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x34], 0xffffffff
mov dword [edi + 0xc], 2
mov dword [edi + 0x38], 0
mov dword [edi], vtable.spdlog::sinks::rotating_file_sink_class_std::mutex_.0
movups xmmword [edi + 0x3c], xmm0
mov dword [edi + 0x4c], 0
movups xmm0, xmmword [ebp + 8]
mov dword [edi + 0x50], 0
mov byte [ebp + 8], 0
movups xmmword [edi + 0x3c], xmm0
movq xmm0, qword [ebp + 0x18]
movq qword [edi + 0x4c], xmm0
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov eax, dword [ebp + 0x20]
xorps xmm0, xmm0
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x24]
mov dword [edi + 0x58], eax
lea eax, [edi + 0x60]
mov dword [eax], 5
mov dword [eax + 4], 0xa
mov dword [eax + 8], 0
movups xmmword [eax + 0xc], xmm0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0xf
mov dword [ebp - 0x20], eax
mov byte [eax + 0xc], 0
lea esi, [eax + 0x28]
mov dword [esi + 0x24], 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 5
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x412537
mov eax, dword [ecx]
push esi
mov eax, dword [eax]
call eax
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [esi + 0x28]
mov dword [ecx + 0x24], 0
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 7
mov edx, dword [eax + 0x4c]
test edx, edx
je 0x41255e
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax]
call eax
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [esi + 0x50]
mov dword [ecx + 0x24], 0
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 9
mov edx, dword [eax + 0x74]
test edx, edx
je 0x412585
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax]
call eax
mov dword [esi + 0x74], eax
mov eax, dword [ebp - 0x1c]
add esi, 0x78
mov dword [ebp - 0x18], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 0xb
mov ecx, dword [eax + 0x9c]
test ecx, ecx
je 0x4125aa
mov eax, dword [ecx]
push esi
mov eax, dword [eax]
call eax
mov dword [esi + 0x24], eax
cmp dword [ebp + 0x20], 0
mov byte [ebp - 4], 0xc
je 0x412695
cmp dword [ebp + 0x24], 0x30d40
ja 0x4126a9
lea eax, [edi + 0x3c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00407130
push 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [edi + 0x60]
call fcn.004053b0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x41261d
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x412613
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x412613
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047613e
add esp, 8
lea ecx, [edi + 0x60]
call fcn.00405760
cmp byte [ebp + 0x28], 0
mov dword [edi + 0x5c], eax
je 0x412640
test eax, eax
je 0x412640
mov ecx, edi
call fcn.0040fd50
mov dword [edi + 0x5c], 0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x412676
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41266c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41266c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047613e
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00475cb4
mov esp, ebp
pop ebp
ret 0x28
sub esp, 0x18
mov ecx, esp
push str.rotating_sink_constructor:_max_size_arg_cannot_be_zero
call fcn.004070f0
call fcn.00402660
sub esp, 0x18
mov ecx, esp
push str.rotating_sink_constructor:_max_files_arg_cannot_exceed_200000
call fcn.004070f0
call fcn.00402660
int3