Function at 0x4050b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5b2d
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x526060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x238], 0x52b720
mov dword [0x52b720], 0x515790
mov dword [0x52b738], 7
mov dword [0x52b734], 0
mov word [0x52b724], ax
mov dword [ebp - 4], eax
mov dword [0x52b754], 7
mov dword [0x52b750], eax
mov word [0x52b740], ax
mov dword [0x52b76c], 7
mov dword [0x52b768], eax
mov word [0x52b758], ax
mov dword [0x52b784], 7
mov dword [0x52b780], eax
mov word [0x52b770], ax
mov dword [0x52b79c], 7
mov dword [0x52b798], eax
mov word [0x52b788], ax
mov dword [0x52b7b4], 7
mov dword [0x52b7b0], eax
mov word [0x52b7a0], ax
mov dword [0x52b7cc], 7
mov dword [0x52b7c8], eax
mov word [0x52b7b8], ax
mov ecx, 0x52b7d0
mov byte [ebp - 4], 6
call fcn.00402670
push 0x5151f4
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x234]
call fcn.0040b750
mov esi, eax
cmp esi, 0x52b740
je 0x405202
mov eax, dword [0x52b754]
cmp eax, 8
jb 0x4051db
inc eax
mov ecx, 0x52b740
push eax
push dword [0x52b740]
call fcn.00401e90
xor eax, eax
mov dword [0x52b754], 7
push esi
mov ecx, 0x52b740
mov dword [0x52b750], 0
mov word [0x52b740], ax
call fcn.00404ed0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x405224
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00401e90
lea ecx, [ebp - 0x234]
call fcn.0040b470
mov esi, eax
cmp esi, 0x52b758
je 0x40527c
mov eax, dword [0x52b76c]
cmp eax, 8
jb 0x405255
inc eax
mov ecx, 0x52b758
push eax
push dword [0x52b758]
call fcn.00401e90
xor eax, eax
mov dword [0x52b76c], 7
push esi
mov ecx, 0x52b758
mov dword [0x52b768], 0
mov word [0x52b758], ax
call fcn.00404ed0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x40529e
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00401e90
lea ecx, [ebp - 0x234]
call fcn.0040b630
mov esi, eax
cmp esi, 0x52b770
je 0x4052f6
mov eax, dword [0x52b784]
cmp eax, 8
jb 0x4052cf
inc eax
mov ecx, 0x52b770
push eax
push dword [0x52b770]
call fcn.00401e90
xor eax, eax
mov dword [0x52b784], 7
push esi
mov ecx, 0x52b770
mov dword [0x52b780], 0
mov word [0x52b770], ax
call fcn.00404ed0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x405318
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00401e90
lea ecx, [ebp - 0x234]
call fcn.0040b950
mov esi, eax
cmp esi, 0x52b788
je 0x405370
mov eax, dword [0x52b79c]
cmp eax, 8
jb 0x405349
inc eax
mov ecx, 0x52b788
push eax
push dword [0x52b788]
call fcn.00401e90
xor eax, eax
mov dword [0x52b79c], 7
push esi
mov ecx, 0x52b788
mov dword [0x52b798], 0
mov word [0x52b788], ax
call fcn.00404ed0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x405392
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00401e90
lea ecx, [ebp - 0x234]
call fcn.0040ba70
mov esi, eax
cmp esi, 0x52b7a0
je 0x4053ea
mov eax, dword [0x52b7b4]
cmp eax, 8
jb 0x4053c3
inc eax
mov ecx, 0x52b7a0
push eax
push dword [0x52b7a0]
call fcn.00401e90
xor eax, eax
mov dword [0x52b7b4], 7
push esi
mov ecx, 0x52b7a0
mov dword [0x52b7b0], 0
mov word [0x52b7a0], ax
call fcn.00404ed0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x40540c
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00401e90
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp word [ebp - 0x218], 0
jne 0x40542e
xor ecx, ecx
jmp 0x405446
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405437
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, 0x52b7b8
push eax
call fcn.00401d30
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x5c
push eax
mov ecx, 0x52b7b8
call fcn.00407620
push 0xffffffffffffffff
inc eax
mov ecx, 0x52b7b8
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.004074c0
mov esi, eax
cmp esi, 0x52b7b8
je 0x4054da
mov ecx, dword [0x52b7cc]
cmp ecx, 8
jb 0x4054b3
inc ecx
push ecx
push dword [0x52b7b8]
mov ecx, 0x52b7b8
call fcn.00401e90
xor eax, eax
mov dword [0x52b7cc], 7
push esi
mov ecx, 0x52b7b8
mov dword [0x52b7c8], 0
mov word [0x52b7b8], ax
call fcn.00404ed0
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x4054f8
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00401e90
mov eax, 0x52b720
mov dword [0x52b73c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00412aed
mov esp, ebp
pop ebp
ret