Function at 0x423a10
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x450
mov eax, dword [0x4ce008]
xor eax, ebp
mov dword [esp + 0x448], eax
mov dword [ecx], 0x4bc164
mov eax, dword [ecx + 0x3c]
test al, 0x10
mov dword [esp + 4], ecx
je 0x423eaa
mov eax, dword [ecx + 0x24]
mov ebx, dword [ecx + 0x38]
cmp ebx, eax
jae 0x423a51
mov dword [ecx + 0x38], eax
mov ebx, eax
mov edi, dword [ecx + 0x20]
sub ebx, edi
js 0x42400c
cmp ebx, 0x7ffffff0
jae 0x423e98
cmp ebx, 0xa
ja 0x423d1a
lea eax, [esp + 0x48]
mov byte [eax + 0xb], bl
lea esi, [eax + ebx]
cmp eax, edi
ja 0x423a87
cmp esi, edi
ja 0x423ff6
test ebx, ebx
je 0x423a96
push ebx
push edi
push eax
call fcn.00465f10
add esp, 0xc
mov eax, dword [esp + 4]
lea ebx, [eax + 8]
add eax, 0xc
mov dword [esp + 0x14], eax
mov byte [esi], 0
movzx eax, byte [esp + 0x53]
test al, al
jns 0x423ab4
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
jns 0x423ac6
push dword [esp + 0x48]
call fcn.00462617
add esp, 4
mov edi, dword [esp + 4]
mov eax, dword [edi + 8]
mov ecx, dword [eax + 4]
add ecx, ebx
lea esi, [esp + 0x48]
push esi
call fcn.00442820
mov ecx, esi
push 0x4e0244
call fcn.00443380
mov dword [esp + 8], ebx
mov ebx, eax
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
push 0xa
call esi
mov ebx, eax
lea ecx, [esp + 0x48]
call fcn.00442960
movsx eax, bl
mov esi, dword [esp + 8]
mov ecx, esi
push eax
call fcn.004110e0
mov ecx, esi
call fcn.004106d0
xor eax, eax
dec eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x3c]
test al, 0x10
je 0x423ec8
mov eax, dword [edi + 0x24]
mov ebx, dword [edi + 0x38]
cmp ebx, eax
jae 0x423b4b
mov dword [edi + 0x38], eax
mov ebx, eax
mov esi, dword [edi + 0x20]
sub ebx, esi
js 0x42400c
cmp ebx, 0x7ffffff0
jae 0x423ea1
cmp ebx, 0xa
ja 0x423cf4
lea eax, [esp + 0x2c]
mov byte [eax + 0xb], bl
lea edi, [eax + ebx]
cmp eax, esi
ja 0x423b81
cmp edi, esi
ja 0x423ff6
test ebx, ebx
je 0x423b90
push ebx
push esi
push eax
call fcn.00465f10
add esp, 0xc
mov byte [edi], 0
lea edx, [esp + 0x2c]
lea edi, [esp + 0x20]
mov ecx, edi
lea eax, [esp + 0x48]
push eax
push 0xffffffffffffffff
mov esi, dword [esp + 0xc]
push dword [esi + 0x90]
mov dword [esp + 0x18], edx
push edx
call fcn.0041bcc0
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x98]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
test byte [0x4d108c], 0x19
jne 0x42402d
cmp byte [esp + 0x2b], 0
jns 0x423bec
push dword [esp + 0x20]
call fcn.00462617
add esp, 4
mov eax, dword [esp + 4]
cmp dword [eax + 4], 3
je 0x423ded
mov ecx, dword [0x4e0b94]
test ecx, ecx
je 0x423c3c
mov eax, dword [esp + 4]
mov edx, dword [eax + 4]
mov dword [esp + 8], edx
mov edi, dword [eax + 0x90]
mov ebx, dword [eax + 0x98]
mov esi, dword [eax + 0x94]
call dword [section..00cfg]
lea eax, [esp + 0x2c]
push eax
push edi
push ebx
push esi
push dword [esp + 0x18]
call ecx
add esp, 0x14
test al, al
jne 0x423c7a
mov eax, dword [0x4d1d28]
test al, 2
jne 0x423d85
test al, 4
jne 0x423d40
cmp eax, 1
ja 0x423c64
mov ecx, dword [esp + 4]
cmp dword [ecx + 4], 2
jge 0x423d40
test al, 1
jne 0x423da8
mov eax, dword [esp + 4]
cmp dword [eax + 4], 3
je 0x423ee6
cmp byte [esp + 0x37], 0
jns 0x423c8d
push dword [esp + 0x2c]
call fcn.00462617
add esp, 4
mov esi, dword [esp + 4]
lea ecx, [esi + 0x9c]
call fcn.0044fd80
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
mov dword [esi + eax + 8], 0x4bc188
mov dword [esi + 0xc], 0x4bc530
cmp byte [esi + 0x37], 0
jns 0x423cc2
push dword [esi + 0x2c]
call fcn.00462617
add esp, 4
add esi, 0x40
mov edi, dword [esp + 0x14]
mov ecx, edi
call fcn.00437ed0
mov ecx, edi
call fcn.00437f20
mov ecx, esi
call fcn.00437ec0
mov ecx, dword [esp + 0x448]
xor ecx, ebp
call fcn.00462e56
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, ebx
or edi, 0xf
inc edi
push edi
call fcn.004625e7
add esp, 4
mov dword [esp + 0x2c], eax
or edi, 0x80000000
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
jmp 0x423b72
mov esi, ebx
or esi, 0xf
inc esi
push esi
call fcn.004625e7
add esp, 4
mov dword [esp + 0x48], eax
or esi, 0x80000000
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
jmp 0x423a78
lea esi, [esp + 0x2c]
movzx ecx, byte [esi + 0xb]
mov edi, ecx
and edi, 0x7f
test cl, cl
cmovs edi, dword [esi + 4]
cmovs esi, dword [esi]
test edi, edi
je 0x423c64
xor ebx, ebx
mov eax, edi
sub eax, ebx
lea ecx, [esi + ebx]
push eax
push ecx
push 2
call fcn.0047636c
add esp, 0xc
test eax, eax
jns 0x423e43
mov eax, dword [0x4d1d28]
jmp 0x423c64
cmp byte [esp + 0x37], 0
jns 0x423d94
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x4d1d28]
jmp 0x423c49
call fcn.004a4de0
test al, al
je 0x423c6c
lea eax, [esp + 0x2c]
movzx ecx, byte [eax + 0xb]
mov edx, ecx
and edx, 0x7f
test cl, cl
cmovs edx, dword [eax + 4]
mov dword [esp + 0x48], 0xffffffff
cmovs eax, dword [eax]
push 0
lea ecx, [esp + 0x4c]
push ecx
push edx
push eax
push dword [0x4e0ba0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x423c6c
cmp byte [0x4e0bbc], 0
jne 0x423bfa
mov byte [0x4e0bbc], 1
mov eax, dword [0x4e0bc4]
mov ecx, dword [0x4d1de0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x42406b
mov ecx, dword [esp + 4]
lea eax, [esp + 0x48]
push eax
call fcn.004a5110
movzx eax, byte [esp + 0x53]
test al, al
jns 0x423e52
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
jmp 0x423e59
add ebx, eax
cmp ebx, edi
jb 0x423d60
jmp 0x423d7b
and eax, 0x7f
lea edx, [esp + 0x48]
lea esi, [esp + 0x20]
mov ecx, esi
push eax
push edx
call fcn.004383e0
push dword [esi + 4]
push dword [esi]
push dword [0x4e0bc0]
call fcn.0042bad0
add esp, 0xc
cmp byte [esp + 0x53], 0
jns 0x423e8c
push dword [esp + 0x48]
call fcn.00462617
add esp, 4
mov byte [0x4e0bbc], 0
jmp 0x423bfa
lea ecx, [esp + 0x48]
call fcn.0048c2c0
lea ecx, [esp + 0x2c]
call fcn.0048c2c0
xor ebx, ebx
mov edi, 0
test al, 8
je 0x423a71
mov eax, dword [esp + 4]
mov edi, dword [eax + 0x14]
mov ebx, dword [eax + 0x1c]
jmp 0x423a54
xor esi, esi
mov ebx, 0
test al, 8
je 0x423b6b
mov eax, dword [esp + 4]
mov esi, dword [eax + 0x14]
mov ebx, dword [eax + 0x1c]
jmp 0x423b4e
mov esi, 0x400
push esi
push 0xff
lea eax, [esp + 0x50]
push eax
call fcn.00466490
add esp, 0xc
cmp byte [esp + 0x37], 0
jns 0x423f0b
mov eax, dword [esp + 0x2c]
jmp 0x423f0f
lea eax, [esp + 0x2c]
push esi
push eax
lea esi, [esp + 0x50]
push esi
call fcn.004487e0
add esp, 0xc
push esi
call fcn.00437f20
add esp, 4
call fcn.004a4ff0
mov ecx, dword [eax + 8]
cmp ecx, dword [eax + 0xc]
je 0x4240ae
mov dword [esp + 0x20], 0xffffffff
call fcn.004a4ff0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0xc]
test edx, edx
cmove edx, ecx
dec edx
cmp ecx, edx
jb 0x42402a
shl edx, 2
add edx, dword [eax]
lea esi, [esp + 0x20]
mov ecx, esi
push edx
call fcn.0044a4d0
cmp dword [esi], 0
jne 0x423f7d
lea ecx, [esp + 0x20]
call fcn.0044a500
jmp 0x423c7a
cmp byte [esp + 0x37], 0
jns 0x423f8a
mov ebx, dword [esp + 0x2c]
jmp 0x423f8e
lea ebx, [esp + 0x2c]
mov edi, ebx
add edi, dword [esp + 0x10]
je 0x423fe5
push edi
call fcn.00479f40
add esp, 4
mov dword [esp + 8], eax
mov esi, dword [esp + 4]
mov eax, dword [esi + 0x90]
mov edx, dword [esp + 0x10]
sub edx, eax
add ebx, eax
lea ecx, [esp + 0x18]
push edx
push ebx
call fcn.004383e0
lea ecx, [esp + 0x20]
push dword [esp + 8]
push edi
lea eax, [esp + 0x20]
push dword [eax + 4]
push dword [eax]
push dword [esi + 0x98]
push dword [esi + 0x94]
call fcn.004a5050
jmp 0x423f6f
push str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
push str.__s___nullptr
push 0x109
jmp 0x42401b
push str.char_traits::copy_overlapped_range
push str.__s2_____s1____s2_____s1____n
push 0xf3
push str....._third_partylibc_srcinclude__stringchar_traits.h
jmp 0x424020
push str.std::string_view::string_view_iterator__sentinel__received_invalid_range
push str.___end_____begin____0
push 0x147
push str....._third_partylibc_srcinclude_string_view
push str._s:_d:_assertion__s_failed:__s_n
call fcn.0048cb70
int3
lea eax, [esp + 0x38]
lea edx, [esp + 0x48]
mov dword [edx], eax
lea eax, [esp + 0x3c]
mov dword [edx + 4], eax
mov dword [edx + 8], edi
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
sub esp, 8
movsd xmm0, qword [esp + 0x48]
movsd qword [esp], xmm0
mov ecx, str.LogMessage
call fcn.004a5460
add esp, 8
jmp 0x423bd9
push 0x4e0bc4
call fcn.00462687
add esp, 4
cmp dword [0x4e0bc4], 0xffffffff
jne 0x423e22
push 0x400
push str.LOG_FATAL
call fcn.0042ba90
add esp, 8
mov dword [0x4e0bc0], eax
push 0x4e0bc4
call fcn.004626fd
add esp, 4
jmp 0x423e22
int3