Function at 0x408490
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x419fb2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x120
mov eax, dword [0x43f040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [edx]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
lea edx, [ebp - 0x64]
sub esp, 8
mov dword [ebp - 0x60], eax
mov eax, esp
mov dword [ebp - 0x64], 0x20000000
mov dword [ebp - 4], 0xffffffff
push ecx
push esi
lea ecx, [ebp - 0x124]
mov dword [eax], 1
mov dword [eax + 4], edx
call fcn.0040a0b0
add esp, 0x10
mov dword [ebp - 0x128], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc4]
mov edi, dword [ebx + 0x18]
push str.__function
call fcn.00401ca0
mov dword [ebp - 0x130], eax
xor ecx, ecx
mov byte [ebp - 4], 2
lea esi, [ebp - 0x17]
mov dword [ebp - 0x12c], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
mov eax, dword [ebp - 0x12c]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x12c], eax
test eax, eax
jne 0x408540
push ecx
lea eax, [ebp - 0x17]
push eax
push esi
lea ecx, [ebp - 0x10c]
call fcn.00402730
push str._LEVEL
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 3
call fcn.00401ca0
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 4
push ecx
push eax
push dword [ebp - 0x128]
lea ecx, [ebp - 0xf4]
call fcn.00402540
push dword [ebp - 0x130]
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x128]
lea ecx, [ebp - 0x7c]
call fcn.00402540
push edi
lea edx, [ebp - 0x7c]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x94]
call fcn.004021b0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 7
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 6
jb 0x408623
lea eax, [ecx + 6]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x40860a
mov eax, dword [edi]
push 6
lea esi, [eax + ecx]
push 0x43880c
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 6], 0
jmp 0x40863b
push 6
push 0x43880c
push dword [ebp - 0x128]
mov ecx, edi
push 6
call fcn.004023e0
mov edi, eax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0xdc], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0xcc], xmm0
push dword [ebp - 0x128]
lea eax, [ebp - 0xdc]
mov dword [edi + 0x10], 0
push eax
push dword [ebp - 0x128]
mov dword [edi + 0x14], 0xf
lea ecx, [ebp - 0x44]
mov byte [edi], 0
mov byte [ebp - 4], 8
call fcn.00402540
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x30]
mov eax, edx
mov ecx, dword [ebp - 0x34]
sub eax, ecx
cmp eax, 1
jb 0x4086b0
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
mov word [eax + ecx], 0xa
lea eax, [ebp - 0x44]
jmp 0x4086c7
push 1
push 0x438808
push dword [ebp - 0x128]
lea ecx, [ebp - 0x44]
push 1
call fcn.004023e0
mov dword [ebp - 0x4c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x408732
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408728
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408959
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0xf
jbe 0x40877e
mov edx, dword [ebp - 0xdc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408774
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408959
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0x80]
cmp ecx, 0xf
jbe 0x4087b5
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4087ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408959
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
cmp ecx, 0xf
jbe 0x408801
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4087f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408959
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp ecx, 0xf
jbe 0x40884d
mov edx, dword [ebp - 0xf4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408843
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408959
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0x98]
cmp ecx, 0xf
jbe 0x408887
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40887d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408959
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
cmp ecx, 0xf
jbe 0x4088dc
mov edx, dword [ebp - 0x10c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4088d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408959
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0xb0]
cmp ecx, 0xf
jbe 0x408912
mov edx, dword [ebp - 0xc4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408908
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408959
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0xf
mov byte [ebp - 0xc4], 0
cmp ecx, 0xf
jbe 0x408969
mov edx, dword [ebp - 0x124]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40895f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40895f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00418a9c
add esp, 8
cmp dword [ebp - 0x48], 0xf
lea eax, [ebp - 0x5c]
cmova eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x4089b1
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4089a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4089a7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00418a59
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret