Function at 0x402e70
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x224
mov eax, dword [0x5b7b5c]
xor eax, esp
mov dword [esp + 0x220], eax
mov eax, dword [esp + 0x228]
mov edx, dword [esp + 0x22c]
mov ecx, dword [esp + 0x234]
push ebx
mov ebx, dword [esp + 0x234]
push ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x240]
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
test edx, edx
jne 0x402ec4
mov edx, 0x57bc10
test ebx, ebx
jne 0x402ed4
mov dword [esp + 0x10], 0x57bc10
mov ebx, dword [esp + 0x10]
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402ee0
sub eax, esi
sar eax, 1
cmp eax, 0xff
jbe 0x402efd
mov edi, 0xff
jmp 0x402f13
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402f02
sub eax, esi
sar eax, 1
mov edi, eax
mov eax, ebx
lea esi, [eax + 2]
jmp 0x402f20
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402f20
sub eax, esi
sar eax, 1
cmp eax, 0xff
jbe 0x402f3d
mov ebp, 0xff
jmp 0x402f53
mov eax, ebx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402f42
sub eax, esi
sar eax, 1
mov ebp, eax
mov esi, dword [esp + 0x250]
push 0
push 0
push 0xff
lea ecx, [esp + 0x3c]
push ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg esi
push edx
sbb esi, esi
push 0
and esi, 0xfde9
push esi
call edi
push 0
push 0
push 0xff
lea edx, [esp + 0x13c]
push edx
mov ebx, eax
mov eax, dword [esp + 0x20]
push ebp
push eax
push 0
push esi
mov byte [esp + ebx + 0x50], 0
call edi
lea esi, [eax + ebx + 2]
push esi
mov dword [esp + 0x14], eax
mov byte [esp + eax + 0x134], 0
call fcn.004ff95f
mov cl, byte [esp + 0x14]
mov edi, eax
push ebx
lea edx, [esp + 0x38]
push edx
mov byte [edi], bl
lea eax, [esi - 2]
mov byte [edi + 1], cl
push eax
lea ecx, [edi + 2]
push ecx
mov dword [esp + 0x28], edi
call fcn.0053f74e
mov ebp, dword [esp + 0x24]
push ebp
add ebx, 2
lea edx, [esp + 0x148]
push edx
sub esi, ebx
lea eax, [ebx + edi]
push esi
push eax
call fcn.0053f74e
add ebx, ebp
lea ecx, [esp + 0x38]
push ebx
push ecx
call fcn.00402d60
mov esi, eax
add esp, 0x2c
test esi, esi
jne 0x403020
mov edx, dword [esp + 0x14]
push edx
call fcn.004ff96a
add esp, 4
xor eax, eax
jmp 0x4031b8
mov eax, dword [str.QV_2n]
push 5
push eax
call fcn.00409700
mov eax, esi
cdq
and edx, 3
add eax, edx
mov ebp, eax
sar ebp, 2
dec ebp
mov eax, esi
add esp, 8
and eax, reloc.WSOCK32.dll_closesocket
mov dword [esp + 0x10], ebp
jns 0x403050
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
jle 0x4030a0
mov edi, 8
sub edi, eax
lea ebx, [edi + esi]
push ebx
call fcn.004ff95f
mov ecx, dword [esp + 0x18]
push esi
push ecx
mov ebp, eax
push ebx
push ebp
call fcn.0053f74e
mov edx, dword [esp + 0x28]
push edx
call fcn.004ff96a
add esp, 0x18
mov dword [esp + 0x14], ebp
test edi, edi
jle 0x403098
push edi
add esi, ebp
push 0
push esi
call fcn.0053ff80
add esp, 0xc
mov esi, ebx
inc dword [esp + 0x10]
mov ebp, dword [esp + 0x10]
lea ebx, [esi + esi - 4]
push ebx
call fcn.004ff95f
mov edi, eax
mov eax, dword [esp + 0x18]
push 4
push eax
push ebx
push edi
mov dword [esp + 0x40], edi
call fcn.0053f74e
add esp, 0x14
mov esi, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x20], eax
test ebp, ebp
jle 0x403130
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add edi, esi
add ebp, 4
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x20], eax
push 4
lea edx, [esp + 0x24]
push edx
mov eax, ebx
sub eax, esi
push eax
push edi
call fcn.0053f74e
push 4
add esi, 4
mov ecx, ebx
push ebp
sub ecx, esi
push ecx
add edi, 4
push edi
call fcn.0053f74e
add esp, 0x20
add esi, 4
add edi, 4
add ebp, 4
sub dword [esp + 0x18], 1
jne 0x4030e5
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edx
call fcn.004ff96a
add esp, 4
lea esi, [edi + 4]
test ebp, ebp
jle 0x403159
lea eax, [esi + 4]
push eax
push esi
call fcn.004095c0
add esp, 8
add esi, 8
sub ebp, 1
jne 0x403144
cmp dword [esp + 0x24c], 0
je 0x403172
mov eax, str.Firewall_Login
mov dword [esp + 0x18], str.Firewall_Login_Length
jmp 0x40317f
mov eax, str.Login
mov dword [esp + 0x18], 0x56f3ec
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
push ebx
push edi
push eax
push esi
push ecx
push ebp
call fcn.0044de80
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push 0
push ebx
push edx
push esi
push eax
push ebp
call fcn.0044ddf0
push edi
call fcn.004ff96a
add esp, 0x34
mov eax, 1
mov ecx, dword [esp + 0x230]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0053f73f
add esp, 0x224
ret