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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0x28], 0
jne 0x402e5a
mov dword [ebp + 0x24], 1
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x20], 0
je 0x402e87
cmp dword [ebp + 0x1c], 0
jl 0x402e87
xor eax, eax
jmp 0x402e8c
mov eax, 1
test eax, eax
je 0x402e9e
mov eax, 0x1e13380
jmp 0x402ea1
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 4]
fstp qword [ebp - 0x2c]
fsub qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fild dword [ebp - 8]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x34]
fsub qword [ebp - 0x3c]
fcomp qword [0x4583f4]
fnstsw ax
test ah, 1
je 0x403251
mov dword [ebp - 0x1c], esp
push 0
push 0
push dword [ebp - 0xc]
push 0
xor eax, eax
call dword [sym.imp.USER32.dll_FindWindowExA]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x402f26
push 0x179
push 0x4025028
push 6
call fcn.00448899
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x402f38
jmp 0x403251
cmp dword [ebp + 0x24], 0
je 0x402f80
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x402f6e
push 0x22c
push 0x4025028
push 6
call fcn.00448899
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x402f80
jmp 0x402ea4
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x402fb0
push 0x275
push 0x4025028
push 6
call fcn.00448899
add esp, 0xc
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x10], eax
jne 0x402ffc
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.USER32.dll_GetParent]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x402fe8
push 0x2ed
push 0x4025028
push 6
call fcn.00448899
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x402ffc
mov eax, 1
jmp 0x403001
mov eax, 0
test eax, eax
je 0x40323a
push dword [ebp - 0xc]
call fcn.00403283
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x403028
push ebx
call fcn.0044888d
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0xc]
call fcn.00403388
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40304b
push ebx
call fcn.0044888d
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0x10], 0
jne 0x40306a
cmp dword [ebp + 0x18], 0
jne 0x40306a
mov eax, 1
jmp 0x40306f
mov eax, 0
test eax, eax
je 0x403084
mov eax, dword [ebp - 0xc]
jmp 0x40325b
cmp dword [ebp + 0x10], 0
jne 0x4030f6
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x4030b5
mov eax, 0x45820b
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4030c9
mov eax, 0x45820b
push eax
push 4
mov ebx, 0x148
call fcn.004497d0
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x4030f1
mov eax, dword [ebp - 0xc]
jmp 0x40325b
jmp 0x40323a
cmp dword [ebp + 0x18], 0
jne 0x403168
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x403127
mov eax, 0x45820b
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40313b
mov eax, 0x45820b
push eax
push 4
mov ebx, 0x148
call fcn.004497d0
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x403163
mov eax, dword [ebp - 0xc]
jmp 0x40325b
jmp 0x40323a
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x40318f
mov eax, 0x45820b
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4031a3
mov eax, 0x45820b
push eax
push 4
mov ebx, 0x148
call fcn.004497d0
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x403225
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4031ea
mov eax, 0x45820b
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4031fe
mov eax, 0x45820b
push eax
push 4
mov ebx, 0x148
call fcn.004497d0
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x403225
mov eax, 1
jmp 0x40322a
mov eax, 0
test eax, eax
je 0x40323a
mov eax, dword [ebp - 0xc]
jmp 0x40325b
push 0
mov ebx, 0x350
call fcn.0044a3e0
add esp, 4
jmp 0x402ea4
mov eax, 0
jmp 0x40325b
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40326c
push ebx
call fcn.0044888d
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40327c
push ebx
call fcn.0044888d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x24