Function at 0x425c60
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, 0x440
mov eax, dword [0x54a010]
xor eax, ebp
mov dword [esp + 0x438], eax
mov dword [ecx], 0x52fd84
lea edi, [ecx + 8]
mov dword [esp], ecx
add ecx, 0xc
lea esi, [esp + 0x38]
mov dword [esp + 0xc], ecx
push esi
call fcn.0045aae0
movzx eax, byte [esi + 0xb]
mov dword [esp + 8], eax
test al, al
jns 0x425cae
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
jns 0x425cbc
push dword [esp + 0x38]
call fcn.0049f94a
add esp, 4
mov eax, dword [esp]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 4]
mov dword [esp + 4], edi
add ecx, edi
lea esi, [esp + 0x38]
push esi
call fcn.00461c10
mov ecx, esi
push 0x54f130
call fcn.00462950
mov edi, eax
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
push 0xa
call esi
mov ebx, eax
lea ecx, [esp + 0x38]
call fcn.00461d50
movsx eax, bl
mov esi, dword [esp + 4]
mov ecx, esi
push eax
call fcn.00411300
mov ecx, esi
call fcn.00410490
xor eax, eax
dec eax
lea esi, [esp + 0x1c]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, dword [esp + 0xc]
push esi
call fcn.0045aae0
movzx ecx, byte [esi + 0xb]
mov edx, ecx
test cl, cl
jns 0x425d3e
mov edx, dword [esp + 0x20]
mov eax, dword [esp]
mov eax, dword [eax + 0x90]
cmp edx, eax
jb 0x425f5b
mov edi, edx
test cl, cl
jns 0x425d59
mov esi, dword [esp + 0x1c]
add esi, eax
sub edi, eax
mov dword [esp + 4], edi
js 0x425f5e
je 0x425d71
test esi, esi
je 0x4260a9
mov eax, dword [esp + 4]
cmp eax, 0x7ffffff0
jae 0x425f61
cmp eax, 0xa
jbe 0x425f0f
mov edi, eax
or edi, 0xf
inc edi
push edi
call fcn.0049f91a
add esp, 4
mov ebx, eax
mov dword [esp + 0x10], eax
or edi, 0x80000000
mov dword [esp + 0x18], edi
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
cmp ebx, esi
ja 0x425dc2
mov eax, dword [esp + 4]
add eax, ebx
cmp eax, esi
ja 0x4260bf
mov edi, dword [esp + 4]
push edi
push esi
push ebx
call fcn.004a3290
add esp, 0xc
mov byte [ebx + edi], 0
mov ecx, dword [esp]
mov eax, dword [ecx + 0x94]
mov ecx, dword [ecx + 0x98]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
test byte [0x54d008], 0x19
jne 0x425f6a
cmp byte [esp + 0x1b], 0
jns 0x425e0c
push dword [esp + 0x10]
call fcn.0049f94a
add esp, 4
mov eax, dword [esp]
cmp dword [eax + 4], 3
je 0x425fac
mov ecx, dword [0x54f838]
test ecx, ecx
je 0x425e5a
mov eax, dword [esp]
mov edx, dword [eax + 4]
mov dword [esp + 4], edx
mov edi, dword [eax + 0x90]
mov ebx, dword [eax + 0x98]
mov esi, dword [eax + 0x94]
call dword [section..00cfg]
lea eax, [esp + 0x1c]
push eax
push edi
push ebx
push esi
push dword [esp + 0x14]
call ecx
add esp, 0x14
test al, al
jne 0x425e96
mov eax, dword [0x54bbd0]
test al, 2
jne 0x426030
test al, 4
jne 0x425f1b
mov ecx, dword [esp]
cmp dword [ecx + 4], 2
jl 0x425e81
cmp eax, 1
jbe 0x425f1b
test al, 1
jne 0x426044
mov eax, dword [esp]
cmp dword [eax + 4], 3
je 0x426084
cmp byte [esp + 0x27], 0
jns 0x425ea9
push dword [esp + 0x1c]
call fcn.0049f94a
add esp, 4
mov esi, dword [esp]
lea ecx, [esi + 0x9c]
call fcn.00472840
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
mov dword [esi + eax + 8], 0x530470
mov dword [esi + 0xc], 0x530480
cmp byte [esi + 0x37], 0
jns 0x425edd
push dword [esi + 0x2c]
call fcn.0049f94a
add esp, 4
add esi, 0x40
mov edi, dword [esp + 0xc]
mov ecx, edi
call fcn.0045a980
mov ecx, edi
call fcn.0045aad0
mov ecx, esi
call fcn.0045a970
mov ecx, dword [esp + 0x438]
xor ecx, ebp
call fcn.004a0403
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ebx, [esp + 0x10]
mov byte [ebx + 0xb], al
jmp 0x425db0
lea esi, [esp + 0x1c]
movzx ebx, byte [esi + 0xb]
test bl, bl
cmovs ebx, dword [esi + 4]
cmovs esi, dword [esi]
test ebx, ebx
je 0x425e81
xor edi, edi
mov eax, ebx
sub eax, edi
lea ecx, [esi + edi]
push eax
push ecx
push 2
call fcn.004b4988
add esp, 0xc
test eax, eax
jns 0x4261c0
mov eax, dword [0x54bbd0]
jmp 0x425e81
int3
int3
lea ecx, [esp + 0x10]
call fcn.004c9ca0
lea eax, [esp + 0x28]
lea edx, [esp + 0x38]
mov dword [edx], eax
lea eax, [esp + 0x2c]
mov dword [edx + 4], eax
lea eax, [esp + 0x10]
mov dword [edx + 8], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
sub esp, 8
movsd xmm0, qword [esp + 0x38]
movsd qword [esp], xmm0
mov ecx, str.LogMessage
call fcn.004e0700
add esp, 8
jmp 0x425df9
cmp byte [0x54f860], 0
jne 0x425e19
mov byte [0x54f860], 1
mov eax, dword [0x54f868]
mov ecx, dword [0x54ddb0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4261cf
mov ecx, dword [esp]
lea esi, [esp + 0x38]
push esi
call fcn.004e03d0
movzx eax, byte [esp + 0x43]
mov ecx, esi
test al, al
jns 0x426001
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
push eax
push ecx
push dword [0x54f864]
call fcn.00472e70
add esp, 0xc
cmp byte [esp + 0x43], 0
jns 0x426024
push dword [esp + 0x38]
call fcn.0049f94a
add esp, 4
mov byte [0x54f860], 0
jmp 0x425e19
cmp byte [esp + 0x27], 0
jns 0x4260dd
mov eax, dword [esp + 0x1c]
jmp 0x4260e1
call fcn.004e00a0
test al, al
je 0x425e89
lea eax, [esp + 0x1c]
movzx ecx, byte [eax + 0xb]
test cl, cl
cmovs ecx, dword [eax + 4]
mov dword [esp + 0x38], 0xffffffff
cmovs eax, dword [eax]
push 0
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
push dword [0x54f844]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x425e89
mov esi, 0x400
push esi
push 0xff
lea eax, [esp + 0x40]
push eax
call fcn.004a3810
add esp, 0xc
cmp byte [esp + 0x27], 0
jns 0x4260f2
mov eax, dword [esp + 0x1c]
jmp 0x4260f6
push str.string_view::string_view__CharT___size_t_:_received_nullptr
push str.__len__0____s___nullptr
push 0x136
push str....._buildtools_third_partylibc_trunkinclude_string_view
jmp 0x4260d3
push str.char_traits::copy_overlapped_range
push str.__s2_____s1____s2_____s1__n
push 0xf1
push str....._buildtools_third_partylibc_trunkinclude__stringchar_traits.h
push str._s:_d:_assertion__s_failed:__s
call fcn.004cb230
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x54bbd0]
jmp 0x425e67
lea eax, [esp + 0x1c]
push esi
push eax
lea esi, [esp + 0x40]
push esi
call fcn.00465fc0
add esp, 0xc
push esi
call fcn.0045aad0
add esp, 4
call fcn.004e02c0
mov ecx, dword [eax + 8]
cmp ecx, dword [eax + 0xc]
je 0x426212
mov dword [esp + 0x10], 0xffffffff
call fcn.004e02c0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0xc]
test edx, edx
cmove edx, ecx
dec edx
cmp ecx, edx
jb 0x426215
shl edx, 2
add edx, dword [eax]
lea esi, [esp + 0x10]
mov ecx, esi
push edx
call fcn.00467570
cmp dword [esi], 0
jne 0x426164
lea ecx, [esp + 0x10]
call fcn.004675a0
jmp 0x425e96
cmp byte [esp + 0x27], 0
jns 0x426171
mov esi, dword [esp + 0x1c]
jmp 0x426175
lea esi, [esp + 0x1c]
mov edi, esi
add edi, dword [esp + 8]
je 0x426218
mov eax, dword [esp]
mov eax, dword [eax + 0x90]
mov ebx, dword [esp + 8]
sub ebx, eax
js 0x42621b
add esi, eax
push edi
call fcn.004b78b0
add esp, 4
lea ecx, [esp + 0x10]
push eax
push edi
push ebx
push esi
mov eax, dword [esp + 0x10]
push dword [eax + 0x98]
push dword [eax + 0x94]
call fcn.004e0320
jmp 0x426156
add edi, eax
cmp ebx, edi
ja 0x425f36
jmp 0x425f51
push 0x54f868
call fcn.0049f9b7
add esp, 4
cmp dword [0x54f868], 0xffffffff
jne 0x425fe1
push 0x400
push str.LOG_FATAL
call fcn.00434bc0
add esp, 8
mov dword [0x54f864], eax
push 0x54f868
call fcn.0049fa2d
add esp, 4
jmp 0x425fe1
int3
int3
int3
int3