Function at 0x406390
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4480d9
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x45b680]
xor eax, esp
mov dword [esp + 0x15c], eax
push ebx
push ebp
push esi
mov eax, dword [0x45b680]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.CheckNDISPort::in_CheckIP
call esi
call fcn.004122f7
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4063f3
push 0x80004005
call fcn.00404ab0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
push edi
mov dword [esp + 0x17c], ebp
call fcn.004067f0
call fcn.004122f7
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40642a
push 0x80004005
call fcn.00404ab0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov byte [esp + 0x17c], 1
call fcn.00406b90
lea edx, [esp + 0x58]
push edx
mov bl, al
mov dword [esp + 0x5c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x44f260
lea ecx, [esp + 0x14]
call fcn.00404930
push 0x44f260
lea ecx, [esp + 0x18]
mov byte [esp + 0x17c], 2
call fcn.00404930
mov byte [esp + 0x178], 3
mov eax, dword [esp + 0x60]
push eax
lea ecx, [esp + 0x14]
push 0x450bd0
push ecx
call fcn.00404390
mov edx, dword [esp + 0x68]
push edx
lea eax, [esp + 0x24]
push 0x450bd0
push eax
call fcn.00404390
add esp, 0x18
push str.the_osver_Version:
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
test bl, bl
je 0x40668c
mov eax, dword [edi + 0xcc]
push eax
mov eax, dword [edi + 0x20]
push eax
mov dword [0x45f8d0], ebp
call dword [sym.imp.USER32.dll_KillTimer]
push str.CheckNDISPort::GatewayIP_SUCUSS
mov dword [edi + 0xcc], ebp
call esi
call fcn.00408460
push edi
call fcn.00407190
test al, al
je 0x40667a
call fcn.00407570
test al, al
jne 0x40667a
cmp dword [edi + 0xdc], ebp
je 0x40667a
cmp dword [edi + 0xe4], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
je 0x40653c
push 0x2ee0
call ebp
cmp byte [edi + 0xec], 0
je 0x4065ae
mov eax, str.IsNotWIN8
lea ecx, [esp + 0x3c]
call fcn.00404f20
mov eax, str.APP_CONFIG
lea ecx, [esp + 0x1c]
mov byte [esp + 0x178], 4
call fcn.00404f20
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x178], 5
call fcn.0040cd10
lea esi, [esp + 0x1c]
mov bl, al
call fcn.00404f60
lea esi, [esp + 0x3c]
mov byte [esp + 0x178], 3
call fcn.00404f60
test bl, bl
jne 0x40666a
push 0xbb8
call ebp
jmp 0x40666f
mov eax, str.IsNotOpenURL
lea ecx, [esp + 0x1c]
call fcn.00404f20
mov eax, str.APP_CONFIG
lea ecx, [esp + 0x3c]
mov byte [esp + 0x178], 6
call fcn.00404f20
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x178], 7
call fcn.0040cd10
test al, al
lea esi, [esp + 0x3c]
sete bl
call fcn.00404f60
lea esi, [esp + 0x1c]
mov byte [esp + 0x178], 3
call fcn.00404f60
test bl, bl
je 0x40666f
mov eax, str.WebBrowserOpenURL
lea ecx, [esp + 0x1c]
call fcn.00404f20
mov eax, str.APP_CONFIG
lea ecx, [esp + 0x3c]
mov byte [esp + 0x178], 8
call fcn.00404f20
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x178], 9
call fcn.0040cd10
lea esi, [esp + 0x3c]
mov bl, al
call fcn.00404f60
lea esi, [esp + 0x1c]
mov byte [esp + 0x178], 3
call fcn.00404f60
test bl, bl
je 0x40666a
call fcn.0040a5b0
jmp 0x40666f
call fcn.00406f50
call fcn.00408670
push edi
call fcn.00408580
cmp byte [edi + 0xd8], 0
je 0x40671e
jmp 0x406715
cmp byte [edi + 0xd8], 0
je 0x40671e
mov eax, dword [0x45fa44]
inc eax
cmp eax, 0x258
mov dword [0x45fa44], eax
jle 0x40671e
mov eax, dword [edi + 0xcc]
cmp eax, ebp
je 0x4066c6
mov ecx, dword [edi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [edi + 0xcc], ebp
mov eax, str.CCheckNDISPortDlg::DoCheckIP___before_DestroyWindow
lea ecx, [esp + 0x1c]
call fcn.00404f20
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x17c], 0xa
call fcn.004089b0
mov byte [esp + 0x178], 3
cmp dword [esp + 0x34], 8
jb 0x406702
mov eax, dword [esp + 0x20]
push eax
call fcn.00411e4d
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebp
mov word [esp + 0x20], cx
mov edx, dword [edi]
mov eax, dword [edx + 0x60]
mov ecx, edi
call eax
mov byte [esp + 0x178], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406746
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x178], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40676e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x178], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406796
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x178], 0xffffffff
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4067c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x15c]
xor ecx, esp
call fcn.0042de55
add esp, 0x16c
ret