Function at 0x4089d0
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 0x41a0dd
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 eax, ecx
mov dword [ebp - 0x12c], eax
mov dword [ebp - 4], 0
mov esi, dword [edx]
mov edx, dword [edx + 4]
cmp dword [ebx + 0x2c], 0xf
lea ecx, [ebx + 0x18]
mov eax, dword [ebx + 0x28]
cmova ecx, dword [ebx + 0x18]
sub esp, 8
mov dword [ebp - 0x60], eax
mov eax, esp
mov dword [ebp - 0x64], ecx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], 0xc0000000
mov byte [ebp - 4], 0
push edx
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x128]
push esi
mov dword [eax], 1
call fcn.0040a0b0
add esp, 0x10
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc8]
mov edi, dword [ebx + 0x14]
push str.__function
call fcn.00401ca0
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x12c]
lea esi, [ebp - 0x17]
mov byte [ebp - 4], 3
test ecx, ecx
jns 0x408ae0
neg ecx
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, eax
mov dword [ebp - 0x12c], eax
add cl, 0x30
mov byte [esi], cl
mov ecx, edx
mov dword [ebp - 0x12c], ecx
test ecx, ecx
jne 0x408aa1
dec esi
mov byte [esi], 0x2d
jmp 0x408b16
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, eax
mov dword [ebp - 0x12c], eax
add cl, 0x30
mov byte [esi], cl
mov ecx, edx
mov dword [ebp - 0x12c], ecx
test ecx, ecx
jne 0x408ae0
push ecx
lea eax, [ebp - 0x17]
push eax
push esi
lea ecx, [ebp - 0x110]
call fcn.00402730
push str._LEVEL
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
call fcn.00401ca0
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 5
push ecx
push eax
push dword [ebp - 0x130]
lea ecx, [ebp - 0xf8]
call fcn.00402540
push dword [ebp - 0x134]
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 6
push eax
push dword [ebp - 0x130]
lea ecx, [ebp - 0x80]
call fcn.00402540
push edi
lea edx, [ebp - 0x80]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x98]
call fcn.004021b0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 8
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 6
jb 0x408bca
lea eax, [ecx + 6]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x408bb1
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 0x408be2
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 - 0xe0], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0xd0], xmm0
push dword [ebp - 0x130]
lea eax, [ebp - 0xe0]
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], 9
call fcn.00402540
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x30]
mov eax, edx
mov ecx, dword [ebp - 0x34]
sub eax, ecx
cmp eax, 1
jb 0x408c57
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 0x408c6e
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 0x408cd9
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408ccf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408f06
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0xf
jbe 0x408d25
mov edx, dword [ebp - 0xe0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408d1b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408f06
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x408d5f
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408d55
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408f06
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp ecx, 0xf
jbe 0x408dae
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408da4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408f06
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp ecx, 0xf
jbe 0x408dfa
mov edx, dword [ebp - 0xf8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408df0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408f06
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0xf
jbe 0x408e34
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408e2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408f06
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
cmp ecx, 0xf
jbe 0x408e89
mov edx, dword [ebp - 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408e7f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408f06
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0xb4]
cmp ecx, 0xf
jbe 0x408ebf
mov edx, dword [ebp - 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408eb5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408f06
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
cmp ecx, 0xf
jbe 0x408f16
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408f0c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408f0c
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 0x408f58
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408f4e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408f90
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov ecx, dword [ebx + 0x2c]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0xf
jbe 0x408fa0
mov edx, dword [ebx + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408f96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408f96
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