Function at 0x405d40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418b28
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x43d004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea edx, [ebp + 8]
cmp dword [ebp + 0x1c], 8
mov esi, ecx
mov edi, dword [ebp + 0x18]
cmovae edx, dword [ebp + 8]
cmp dword [ecx + 0x14], 8
jb 0x405d89
mov esi, dword [ecx]
mov eax, dword [ecx + 0x10]
sub esp, 8
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x6c]
mov eax, esp
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], 0xc0000000
push edi
push edx
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x28]
mov dword [eax], 1
call fcn.004081d0
mov byte [ebp - 4], 1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.00406bd0
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
mov ecx, eax
call fcn.0040aab0
add esp, 0x14
mov ecx, eax
push 0x408720
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
push 0x437608
lea ecx, [ebp - 0x84]
call fcn.00404200
mov esi, eax
mov byte [ebp - 4], 2
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov ecx, dword [esi + 0x10]
cmovae edx, dword [ebp - 0x28]
mov eax, dword [esi + 0x14]
mov edi, dword [ebp - 0x18]
sub eax, ecx
mov dword [ebp - 0x2c], ecx
cmp edi, eax
ja 0x405e52
cmp dword [esi + 0x14], 8
lea eax, [ecx + edi]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [ebp - 0x30], esi
jb 0x405e31
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
lea ecx, [eax + ecx*2]
lea eax, [edi + edi]
push eax
push edx
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov ecx, dword [ebp - 0x30]
add eax, edi
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x405e61
push edi
push edx
push dword [ebp - 0x2c]
mov ecx, esi
push edi
call fcn.00406400
mov esi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x38], xmm0
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x34]
mov eax, edx
mov ecx, dword [ebp - 0x38]
sub eax, ecx
cmp eax, 1
jb 0x405ec9
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
mov dword [eax + ecx*2], 0xa
lea eax, [ebp - 0x48]
jmp 0x405edd
push 1
push 0x437620
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x48]
push 1
call fcn.00406400
mov dword [ebp - 0x50], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x60], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x50], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 8
cmovae eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x4c]
cmp ecx, 8
jb 0x405f62
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405f58
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405fef
push ecx
push edx
call fcn.00417dd6
add esp, 8
mov ecx, dword [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
cmp ecx, 8
jb 0x405fac
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405fa2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405fef
push ecx
push edx
call fcn.00417dd6
add esp, 8
mov ecx, dword [ebp - 0x70]
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
cmp ecx, 8
jb 0x405fff
mov edx, dword [ebp - 0x84]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405ff5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405ff5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00417dd6
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x406035
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40602b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406075
push ecx
push edx
call fcn.00417dd6
add esp, 8
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x406085
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40607b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40607b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00417dd6
add esp, 8
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.00417bbf
mov esp, ebp
pop ebp
ret