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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x448
mov eax, dword [0x53d010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ecx], 0x522464
mov eax, dword [ecx + 0x3c]
test al, 0x10
mov dword [ebp - 0x444], ecx
je 0x425d4b
mov eax, dword [ecx + 0x24]
mov ebx, dword [ecx + 0x38]
cmp ebx, eax
jae 0x42594c
mov dword [ecx + 0x38], eax
mov ebx, eax
mov edi, dword [ecx + 0x20]
sub ebx, edi
js 0x425ce6
cmp ebx, 0x7ffffff8
jae 0x425d04
cmp ebx, 0xa
ja 0x425c5d
lea eax, [ebp - 0x410]
mov byte [eax + 0xb], bl
lea esi, [eax + ebx]
cmp eax, edi
ja 0x425984
cmp esi, edi
ja 0x425cd0
test ebx, ebx
je 0x425993
push ebx
push edi
push eax
call fcn.0049e310
add esp, 0xc
mov eax, dword [ebp - 0x444]
lea edi, [eax + 8]
add eax, 0xc
mov dword [ebp - 0x454], eax
mov byte [esi], 0
movzx eax, byte [ebp - 0x405]
test al, al
jns 0x4259b9
mov eax, dword [ebp - 0x40c]
mov dword [ebp - 0x450], eax
jns 0x4259cf
push dword [ebp - 0x410]
call fcn.0049a930
add esp, 4
mov eax, dword [ebp - 0x444]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 4]
add ecx, edi
lea esi, [ebp - 0x410]
push esi
call fcn.0045c1f0
mov ecx, esi
push 0x541538
call fcn.0045cda0
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 esi, dword [ebp - 0x444]
mov ebx, eax
lea ecx, [ebp - 0x410]
call fcn.0045c330
movsx eax, bl
mov ecx, edi
push eax
call fcn.00411540
mov ecx, edi
call fcn.004106d0
xor eax, eax
dec eax
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], eax
mov eax, dword [esi + 0x3c]
test al, 0x10
je 0x425d6b
mov eax, dword [esi + 0x24]
mov ebx, dword [esi + 0x38]
cmp ebx, eax
jae 0x425a5e
mov dword [esi + 0x38], eax
mov ebx, eax
mov esi, dword [esi + 0x20]
sub ebx, esi
js 0x425ce6
cmp ebx, 0x7ffffff8
jae 0x425d0f
cmp ebx, 0xa
ja 0x425c31
lea eax, [ebp - 0x42c]
mov byte [eax + 0xb], bl
lea edi, [eax + ebx]
cmp eax, esi
ja 0x425a96
cmp edi, esi
ja 0x425cd0
test ebx, ebx
je 0x425aa5
push ebx
push esi
push eax
call fcn.0049e310
add esp, 0xc
mov byte [edi], 0
lea edx, [ebp - 0x42c]
lea edi, [ebp - 0x438]
mov ecx, edi
lea eax, [ebp - 0x410]
push eax
push 0xffffffffffffffff
mov esi, dword [ebp - 0x444]
push dword [esi + 0x90]
mov dword [ebp - 0x44c], edx
push edx
call fcn.0041f590
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x98]
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x420], 0x56
mov eax, dword [0x52b590]
mov al, byte [eax + 0x56]
test al, al
jne 0x425f08
cmp byte [ebp - 0x42d], 0
jns 0x425b20
push dword [ebp - 0x438]
call fcn.0049a930
add esp, 4
cmp dword [esi + 4], 3
je 0x425f9e
mov ecx, dword [0x541b58]
test ecx, ecx
je 0x425b7a
mov eax, dword [esi + 4]
mov dword [ebp - 0x448], eax
mov edi, dword [esi + 0x90]
mov ebx, dword [esi + 0x98]
mov eax, dword [ebp - 0x444]
mov esi, dword [eax + 0x94]
call dword [section..00cfg]
lea eax, [ebp - 0x42c]
push eax
push edi
push ebx
push esi
mov esi, dword [ebp - 0x444]
push dword [ebp - 0x448]
call ecx
add esp, 0x14
test al, al
jne 0x425bb6
mov eax, dword [0x53ec34]
test al, 2
jne 0x425d1a
test al, 4
jne 0x425c89
cmp eax, 1
ja 0x425b9e
cmp dword [esi + 4], 2
jge 0x425c89
test al, 1
jne 0x425ebd
mov esi, dword [ebp - 0x444]
cmp dword [esi + 4], 3
je 0x425d8b
cmp byte [ebp - 0x421], 0
jns 0x425bcd
push dword [ebp - 0x42c]
call fcn.0049a930
add esp, 4
lea ecx, [esi + 0x9c]
call fcn.00469920
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
mov dword [esi + eax + 8], 0x52282c
mov dword [esi + 0xc], 0x522830
cmp byte [esi + 0x37], 0
jns 0x425bfe
push dword [esi + 0x2c]
call fcn.0049a930
add esp, 4
add esi, 0x40
mov edi, dword [ebp - 0x454]
mov ecx, edi
call fcn.004529e0
mov ecx, edi
call fcn.00452a30
mov ecx, esi
call fcn.004529d0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049b483
add esp, 0x448
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, ebx
or edi, 7
inc edi
push edi
call fcn.0049a900
add esp, 4
mov dword [ebp - 0x42c], eax
or edi, 0x80000000
mov dword [ebp - 0x424], edi
mov dword [ebp - 0x428], ebx
jmp 0x425a87
mov esi, ebx
or esi, 7
inc esi
push esi
call fcn.0049a900
add esp, 4
mov dword [ebp - 0x410], eax
or esi, 0x80000000
mov dword [ebp - 0x408], esi
mov dword [ebp - 0x40c], ebx
jmp 0x425975
lea esi, [ebp - 0x42c]
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 0x425b9e
xor ebx, ebx
mov eax, edi
sub eax, ebx
lea ecx, [esi + ebx]
push eax
push ecx
push 2
call fcn.004af95f
add esp, 0xc
test eax, eax
jns 0x426005
mov eax, dword [0x53ec34]
jmp 0x425b9e
push str.char_traits::copy:_source_and_destination_ranges_overlap
push str._std::__is_pointer_in_range___s1____s1____n____s2_
push 0xf1
push str....._third_partylibc_srcinclude__stringchar_traits.h
jmp 0x425cfa
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.004c59e0
lea ecx, [ebp - 0x410]
call fcn.004c4560
lea ecx, [ebp - 0x42c]
call fcn.004c4560
cmp byte [ebp - 0x421], 0
jns 0x425d2f
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 0x44c], eax
push dword [ebp - 0x44c]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x53ec34]
mov esi, dword [ebp - 0x444]
jmp 0x425b87
xor ebx, ebx
mov edi, 0
test al, 8
je 0x42596c
mov eax, dword [ebp - 0x444]
mov edi, dword [eax + 0x14]
mov ebx, dword [eax + 0x1c]
jmp 0x42594f
xor esi, esi
mov ebx, 0
test al, 8
je 0x425a7e
mov eax, dword [ebp - 0x444]
mov esi, dword [eax + 0x14]
mov ebx, dword [eax + 0x1c]
jmp 0x425a61
mov esi, 0x400
push esi
push 0xff
lea eax, [ebp - 0x410]
push eax
call fcn.0049e890
add esp, 0xc
cmp byte [ebp - 0x421], 0
js 0x425db6
lea eax, [ebp - 0x42c]
jmp 0x425dbc
mov eax, dword [ebp - 0x42c]
push esi
push eax
lea esi, [ebp - 0x410]
push esi
call fcn.004613b0
add esp, 0xc
push esi
call fcn.00452a30
add esp, 4
call fcn.004db1d0
mov ecx, dword [eax + 8]
cmp ecx, dword [eax + 0xc]
je 0x426028
mov dword [ebp - 0x438], 0xffffffff
call fcn.004db1d0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0xc]
test edx, edx
cmove edx, ecx
dec edx
cmp ecx, edx
jb 0x42602b
shl edx, 2
add edx, dword [eax]
lea esi, [ebp - 0x438]
mov ecx, esi
push edx
call fcn.00462c10
cmp dword [esi], 0
jne 0x425e38
lea ecx, [ebp - 0x438]
call fcn.00462c40
mov esi, dword [ebp - 0x444]
jmp 0x425bb6
cmp byte [ebp - 0x421], 0
js 0x425e49
lea ebx, [ebp - 0x42c]
jmp 0x425e4f
mov ebx, dword [ebp - 0x42c]
mov edi, ebx
add edi, dword [ebp - 0x450]
je 0x426014
push edi
call fcn.004b2cb0
add esp, 4
mov dword [ebp - 0x448], eax
mov esi, dword [ebp - 0x444]
mov eax, dword [esi + 0x90]
mov edx, dword [ebp - 0x450]
sub edx, eax
add ebx, eax
lea ecx, [ebp - 0x440]
push edx
push ebx
call fcn.004530e0
lea ecx, [ebp - 0x438]
push dword [ebp - 0x448]
push edi
lea eax, [ebp - 0x440]
push dword [eax + 4]
push dword [eax]
push dword [esi + 0x98]
push dword [esi + 0x94]
call fcn.004db230
jmp 0x425e22
call fcn.004dafc0
test al, al
je 0x425ba6
lea eax, [ebp - 0x42c]
movzx ecx, byte [eax + 0xb]
mov edx, ecx
and edx, 0x7f
test cl, cl
cmovs edx, dword [eax + 4]
mov dword [ebp - 0x410], 0xffffffff
cmovs eax, dword [eax]
push 0
lea ecx, [ebp - 0x410]
push ecx
push edx
push eax
push dword [0x541b64]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x425ba6
movzx ecx, al
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x410], eax
lea eax, [ebp - 0x418]
mov dword [ebp - 0x40c], eax
mov dword [ebp - 0x408], edi
lea eax, [ebp - 0x414]
mov dword [eax], str.LogMessage
lea edx, [ebp - 0x420]
lea edi, [ebp - 0x410]
push edi
push eax
call fcn.004db610
add esp, 8
jmp 0x425b09
mov eax, dword [ebp - 0x40c]
mov edx, dword [ebp - 0x410]
lea esi, [ebp - 0x438]
mov ecx, esi
push eax
push edx
call fcn.004530e0
push dword [esi + 4]
push dword [esi]
push dword [0x541b84]
call fcn.00431f20
add esp, 0xc
cmp byte [ebp - 0x405], 0
jns 0x425f95
push dword [ebp - 0x410]
call fcn.0049a930
add esp, 4
mov byte [0x541b80], 0
jmp 0x425fa7
cmp byte [0x541b80], 0
je 0x425fb2
mov esi, dword [ebp - 0x444]
jmp 0x425b2a
mov byte [0x541b80], 1
mov eax, dword [0x541b88]
mov ecx, dword [0x540070]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x42602e
mov ecx, dword [ebp - 0x444]
lea eax, [ebp - 0x410]
push eax
call fcn.004db2c0
movzx eax, byte [ebp - 0x405]
test al, al
js 0x425f50
and eax, 0x7f
lea edx, [ebp - 0x410]
jmp 0x425f5c
add ebx, eax
cmp ebx, edi
jb 0x425cab
jmp 0x425cc6
push str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
push str.__s___nullptr
push 0x109
jmp 0x425cf5
int3
int3
push 0x541b88
call fcn.0049a9a7
add esp, 4
cmp dword [0x541b88], 0xffffffff
jne 0x425fd6
push 0x400
push str.LOG_FATAL
call fcn.00431ee0
add esp, 8
mov dword [0x541b84], eax
push 0x541b88
call fcn.0049aa1d
add esp, 4
jmp 0x425fd6