Function at 0x406bd0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1ab7
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x639210]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x63a790]
cmp eax, 0xffffffff
jne 0x406e81
mov esi, dword [sym.imp.KERNEL32.dll_VirtualQuery]
lea eax, [ebp - 0x1b0]
push 0x1c
xorps xmm0, xmm0
mov dword [ebp - 0x198], 0
push eax
push fcn.004107f0
movdqu xmmword [ebp - 0x1b0], xmm0
movq qword [ebp - 0x1a0], xmm0
call esi
neg eax
sbb eax, eax
and eax, dword [ebp - 0x1ac]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.004108b0
push 0
lea eax, [ebp - 0x134]
mov dword [ebp - 4], 0
push eax
call fcn.00410930
push 1
push 0x604044
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 1
call fcn.00411aa0
push 0x1c
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x198], 0
xorps xmm0, xmm0
push eax
push fcn.004107f0
movdqu xmmword [ebp - 0x1b0], xmm0
movq qword [ebp - 0x1a0], xmm0
call esi
neg eax
sbb eax, eax
and eax, dword [ebp - 0x1ac]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00410930
mov edx, eax
mov byte [ebp - 4], 2
cmp dword [edx + 0x14], 8
jb 0x406cce
mov edx, dword [edx]
cmp word [edx], 0
jne 0x406cd8
xor ecx, ecx
jmp 0x406cef
mov ecx, edx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406ce0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x134]
call fcn.00411aa0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.00402220
push 0x60799c
lea ecx, [ebp - 0xd4]
call fcn.00402940
push 8
push 0x604048
lea ecx, [ebp - 0xd4]
call fcn.00411aa0
cmp dword [ebp - 0xc0], 8
lea eax, [ebp - 0xd4]
push 0
cmovae eax, dword [ebp - 0xd4]
push eax
call fcn.00569510
add esp, 8
cmp eax, 0xffffffff
je 0x406e06
lea ecx, [ebp - 0x74]
call fcn.00402190
sub esp, 0x60
mov byte [ebp - 4], 3
lea eax, [ebp - 0xd4]
mov dword [ebp - 0x1c0], esp
mov ecx, esp
push eax
call fcn.00402470
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 4
push eax
sub esp, 0x60
mov ecx, esp
mov dword [ebp - 0x1bc], esp
push 0x6079a0
call fcn.004022c0
sub esp, 0x60
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x1b4], esp
push str.mode
call fcn.004022c0
sub esp, 0x60
mov byte [ebp - 4], 6
mov ecx, esp
push str.config
call fcn.004022c0
mov byte [ebp - 4], 3
call fcn.00411390
cmp dword [ebp - 0x64], 0
je 0x406de8
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
push eax
call fcn.00569c8a
add esp, 4
mov dword [0x63a790], eax
jmp 0x406df2
mov dword [0x63a790], 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.00402220
mov ecx, dword [0x63a790]
jmp 0x406e11
mov ecx, 1
mov dword [0x63a790], ecx
cmp dword [ebp - 0x120], 8
lea eax, [ebp - 0x134]
push ecx
cmovae eax, dword [ebp - 0x134]
push eax
push 0x604078
lea eax, [ebp - 0x194]
push eax
push 0x6495d0
call fcn.00410a60
add esp, 0x14
lea eax, [ebp - 0x194]
cmp dword [ebp - 0x180], 8
cmovae eax, dword [ebp - 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x194]
call fcn.00402220
lea ecx, [ebp - 0x134]
call fcn.00402220
lea ecx, [ebp - 0xd4]
call fcn.00402220
mov eax, dword [0x63a790]
test eax, eax
jne 0x406e89
xor eax, eax
jmp 0x406ee1
cmp dword [0x649688], 0
je 0x406e85
cmp dword [0x649a84], 0
jne 0x406ea2
mov eax, 3
jmp 0x406ee1
xor eax, eax
mov ecx, 1
cmp byte [0x649a38], al
cmovne eax, ecx
cmp byte [0x649a68], 0
je 0x406ee1
mov ecx, dword [ebp + 8]
cmp ecx, 1
jl 0x406ee1
cmp ecx, dword [0x649a64]
jge 0x406ee1
cmp dword [ecx*4 + 0x649a3c], 1
jne 0x406ee1
cmp byte [0x649a39], 0
je 0x406ee1
or eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00567455
mov esp, ebp
pop ebp
ret 4