Function at 0x407f20
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 0x41a045
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x128
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 - 0x6c]
mov dword [ebp - 0x64], eax
sub esp, 8
mov eax, dword [ebx + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x60], eax
mov eax, esp
movq qword [ebp - 0x6c], xmm0
push ecx
mov dword [ebp - 0x6c], 0x10000000
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x68], 0xb0000004
mov dword [ebp - 4], 0xffffffff
push esi
mov dword [eax], 2
mov dword [eax + 4], edx
call fcn.0040a0b0
add esp, 0x10
mov dword [ebp - 0x130], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xcc]
mov edi, dword [ebx + 0x1c]
push str.__function
call fcn.00401ca0
mov dword [ebp - 0x138], eax
xor ecx, ecx
mov byte [ebp - 4], 2
lea esi, [ebp - 0x17]
mov dword [ebp - 0x134], 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 - 0x134]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x134], eax
test eax, eax
jne 0x407fe5
push ecx
lea eax, [ebp - 0x17]
push eax
push esi
lea ecx, [ebp - 0x114]
call fcn.00402730
push str._LEVEL
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 3
call fcn.00401ca0
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 4
push ecx
push eax
push dword [ebp - 0x130]
lea ecx, [ebp - 0xfc]
call fcn.00402540
push dword [ebp - 0x138]
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x130]
lea ecx, [ebp - 0x84]
call fcn.00402540
push edi
lea edx, [ebp - 0x84]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x9c]
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 0x4080ce
lea eax, [ecx + 6]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x4080b5
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 0x4080e6
push 6
push 0x43880c
push dword [ebp - 0x130]
mov ecx, edi
push 6
call fcn.004023e0
mov edi, eax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0xe4], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0xd4], xmm0
push dword [ebp - 0x130]
lea eax, [ebp - 0xe4]
mov dword [edi + 0x10], 0
push eax
push dword [ebp - 0x130]
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 0x40815b
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 0x408172
push 1
push 0x438808
push dword [ebp - 0x130]
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 0x4081dd
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4081d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408410
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0xf
jbe 0x408229
mov edx, dword [ebp - 0xe4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40821f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408410
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0x88]
cmp ecx, 0xf
jbe 0x408263
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408259
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408410
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
cmp ecx, 0xf
jbe 0x4082b5
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4082ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408410
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
cmp ecx, 0xf
jbe 0x408304
mov edx, dword [ebp - 0xfc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4082fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408410
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0xa0]
cmp ecx, 0xf
jbe 0x40833e
mov edx, dword [ebp - 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408334
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408410
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
cmp ecx, 0xf
jbe 0x408393
mov edx, dword [ebp - 0x114]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408389
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408410
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0xb8]
cmp ecx, 0xf
jbe 0x4083c9
mov edx, dword [ebp - 0xcc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4083bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408410
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0xf
mov byte [ebp - 0xcc], 0
cmp ecx, 0xf
jbe 0x408420
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408416
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408416
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 0x408468
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40845e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40845e
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