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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 8
call fcn.0053b7c5
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x564bce
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
push 0x28
call fcn.0053b7c5
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
mov dword [ebx], 0x849d4d
push 8
call fcn.0053b7c5
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
mov esi, 0x564bce
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [0x9e210e]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 2
je 0x41a8a5
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 [0x9e21ee]
fstp qword [ebp - 0x2c]
fsub qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fdiv qword [0x849ce5]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.00401055
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 8
push reloc.WS2_32.dll_closesocket
push dword [0x9e21ea]
push dword [0x9e21e6]
push 3
mov ebx, 0x1dc
call fcn.0053f220
add esp, 0x28
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
jmp 0x41a9e8
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
call fcn.0041afd8
mov dword [ebp - 0x24], eax
push 0x849ced
push dword [ebp - 0x24]
call fcn.00401944
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41a8f3
push ebx
call fcn.0053b7cb
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x41a980
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 [0x9e21ee]
fstp qword [ebp - 0x2c]
fsub qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fdiv qword [0x849ce5]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.00401055
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 8
push reloc.WS2_32.dll_closesocket
push dword [0x9e21ea]
push dword [0x9e21e6]
push 3
mov ebx, 0x1dc
call fcn.0053f220
add esp, 0x28
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
jmp 0x41a9e8
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
call fcn.0041afd8
mov dword [ebp - 0x24], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41a9b3
mov eax, 0x564ba7
push eax
push 1
mov ebx, 0x160
call fcn.0053f1b0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41a9dc
push ebx
call fcn.0053b7cb
add esp, 4
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x1c]
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0041b0c9
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x1c]
call fcn.0041c8cf
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call fcn.0041ce4c
cmp dword [ebp - 0x10], 0
jle 0x41aa45
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
jmp 0x41aa57
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.0041d381
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x1c]
push 0x9e20de
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [0x9e210e]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 0
jne 0x41aabc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.0043dab5
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0053b7cb
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
jmp 0x41acca
mov ebx, dword [0x9e210e]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 1
jne 0x41ac7c
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x1c], ebx
push 0x849cf2
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
call fcn.00401944
add esp, 8
cmp eax, 0
je 0x41abe2
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x24], ebx
push 0x849cfb
mov ebx, dword [ebp - 0x24]
push dword [ebx]
call fcn.00401944
add esp, 8
cmp eax, 0
je 0x41abe2
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x2c], ebx
push 0x849d08
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call fcn.00401944
add esp, 8
cmp eax, 0
je 0x41abe2
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x34], ebx
push 0x849d15
mov ebx, dword [ebp - 0x34]
push dword [ebx]
call fcn.00401944
add esp, 8
cmp eax, 0
je 0x41abe2
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x3c], ebx
push 0x849d24
mov ebx, dword [ebp - 0x3c]
push dword [ebx]
call fcn.00401944
add esp, 8
cmp eax, 0
je 0x41abe2
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x44], ebx
push 0x849d33
mov ebx, dword [ebp - 0x44]
push dword [ebx]
call fcn.00401944
add esp, 8
cmp eax, 0
je 0x41abe2
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x4c], ebx
push 0x849d40
mov ebx, dword [ebp - 0x4c]
push dword [ebx]
call fcn.00401944
add esp, 8
cmp eax, 0
je 0x41abe2
xor eax, eax
jmp 0x41abe7
mov eax, 1
test eax, eax
je 0x41ac4c
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 1
push 2
call fcn.0041afd8
mov ebx, eax
test ebx, ebx
je 0x41ac16
push ebx
call fcn.0053b7cb
add esp, 4
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.0043e91a
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0053b7cb
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
jmp 0x41ac77
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.0043dab5
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0053b7cb
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
jmp 0x41acca
mov ebx, dword [0x9e210e]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 2
jne 0x41acca
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.0043e91a
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0053b7cb
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
jmp 0x41acca
cmp dword [0x9e20be], 1
jne 0x41ad0a
lea eax, [ebp - 0x18]
push eax
push 0x9e20e2
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
push 1
push 1
push 1
push 0x9e20e2
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x30]
jmp 0x41ad3c
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
call fcn.0043f8dc
push 1
push 1
push 0
push 0x9e20e2
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x30]
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x18]
call fcn.0040167b
push ebx
push ecx
mov ebx, dword [ebp - 0x18]
call fcn.0040169b
dec eax
jns 0x41ad71
push 4
call fcn.0053b7dd
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41ad84
push 1
call fcn.0053b7dd
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x28], ebx
push dword [ebp - 0x28]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call fcn.00440ae1
mov ebx, dword [ebp - 0x18]
call fcn.0040167b
push ebx
push ecx
mov ebx, dword [ebp - 0x18]
call fcn.0040169b
dec eax
jns 0x41adc1
push 4
call fcn.0053b7dd
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41add4
push 1
call fcn.0053b7dd
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x28], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.0053be40
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x30], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.0053be40
add esp, 0x10
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push eax
push 0x9e20e2
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41ae75
push ebx
call fcn.0053b7cb
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41ae85
push ebx
call fcn.0053b7cb
add esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x1c], ebx
push 1
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
push 0x9e20de
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x30]
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
push 1
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
push 0x9e20de
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
push 1
push 0x9e20e2
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x41aef9
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x41aef5
imul eax, dword [ebx]
jmp 0x41aeea
mov ecx, eax
test ecx, ecx
je 0x41af18
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x41af11
push ebx
push eax
call fcn.0053b7cb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x41aeff
call fcn.0053b7cb
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0053b7cb
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x41af4e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x41af4a
imul eax, dword [ebx]
jmp 0x41af3f
mov ecx, eax
test ecx, ecx
je 0x41afca
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41af69
push ebx
call fcn.0053b7cb
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41af7d
push ebx
call fcn.0053b7cb
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41af91
push ebx
call fcn.0053b7cb
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41afa5
push ebx
call fcn.0053b7cb
add esp, 4
pop ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41afb9
push ebx
call fcn.0053b7cb
add esp, 4
pop ebx
call fcn.0053b7cb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x41af54
call fcn.0053b7cb
add esp, 4
mov esp, ebp
pop ebp
ret 4