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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548c78
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x5b39c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.0040dcb4
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x406c39
push 0x80004005
call fcn.004011e0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str..zip
push 0
lea eax, [ebp - 0x10]
push eax
push dword [edi + 0x14]
mov dword [ebp - 4], 0
call fcn.00404780
add esp, 0x10
or ebx, 0xffffffff
test eax, eax
jns 0x406c70
lea esi, [ebx - 2]
jmp 0x40711f
lea ecx, [ebp - 0x28]
call fcn.00407160
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], 0
call fcn.0040dcb4
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x406c9f
push 0x80004005
call fcn.004011e0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push str.7_zip32.dll
mov byte [ebp - 4], 2
call fcn.00402210
mov eax, dword [edi + 0x14]
push ecx
sub eax, 0x10
mov esi, esp
push eax
mov byte [ebp - 4], 3
call fcn.00401200
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 2
call fcn.00403a20
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00401110
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x406d18
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x40], esp
mov esi, esp
push eax
mov dword [ebp - 0x1c], eax
call fcn.00401200
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x3c], esp
mov esi, esp
push eax
mov byte [ebp - 4], 5
call fcn.00401200
add eax, 0x10
mov dword [esi], eax
mov eax, dword [edi + 0x18]
sub eax, 0x10
mov esi, esp
push eax
mov byte [ebp - 4], 6
call fcn.00401200
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00407750
test eax, eax
jns 0x406e26
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x406e19
mov ebx, dword [ebp - 0x14]
xor edi, edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push ecx
mov dword [ebp - 0x40], esp
mov esi, esp
push dword [ebp - 0x1c]
call fcn.00401200
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x3c], esp
mov esi, esp
push eax
mov byte [ebp - 4], 7
call fcn.00401200
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebx + 0x18]
sub eax, 0x10
mov esi, esp
push eax
mov byte [ebp - 4], 8
call fcn.00401200
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00407750
mov esi, eax
test esi, esi
je 0x406e12
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x406e10
inc edi
cmp edi, 0xa
jl 0x406d96
test esi, esi
mov ebx, 0xffffffff
jns 0x406e23
mov esi, 0xfffffffd
jmp 0x4070f6
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x20], eax
cmp eax, 1
jne 0x406e82
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, esp
push ecx
mov edi, eax
call fcn.00401200
mov ecx, dword [ebp - 0x14]
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004062b0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
push eax
push ecx
mov ecx, esp
push str.DecryptArchive
call fcn.00402210
mov edi, dword [ebp - 0x14]
mov ecx, edi
call fcn.00406b70
test esi, esi
jne 0x4070f6
mov eax, dword [edi + 0x14]
push 0x559cfc
push ecx
sub eax, 0x10
mov esi, esp
push eax
call fcn.00401200
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea eax, [ebp - 0x38]
push eax
call fcn.00403ce0
add esp, 8
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 9
call fcn.004026c0
add esp, 0xc
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xb
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x406edb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0040dcb4
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x406ef7
push 0x80004005
call fcn.004011e0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xc
call fcn.00404fd0
call fcn.0040dcb4
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x406f2f
push 0x80004005
call fcn.004011e0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call fcn.00404fd0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ecx
mov esi, esp
push dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x18], 0
call fcn.00401200
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004041e0
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
add esp, 4
cmp eax, 1
jne 0x407038
lea ecx, [ebp - 0x64]
call fcn.00407c40
push ecx
mov dword [ebp - 0x3c], esp
push ecx
mov ebx, esp
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0xe
call fcn.00401200
add esp, 4
add eax, 0x10
push dword [ebp - 0x3c]
mov dword [ebx], eax
call fcn.00404270
add esp, 8
lea ecx, [ebp - 0x64]
call fcn.00407df0
test eax, eax
jne 0x407026
push eax
call fcn.00418af2
test eax, eax
je 0x406fd2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x406fd4
xor eax, eax
push eax
mov eax, dword [ebp - 0x10]
push 0x405c00
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x44], esp
mov ebx, esp
push eax
call fcn.00401200
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov ebx, esp
push eax
mov byte [ebp - 4], 0xf
call fcn.00401200
add eax, 0x10
mov dword [ebx], eax
add esp, 4
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xe
call fcn.00408040
lea ecx, [ebp - 0x64]
call fcn.00407fb0
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xd
call fcn.00407ca0
cmp dword [ebp - 0x18], 0
jne 0x407048
push edi
push esi
call fcn.00409960
movzx eax, al
add esp, 8
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x40]
push eax
push ecx
mov ecx, esp
push str.Unzip2
call fcn.00402210
mov ecx, dword [ebp - 0x14]
call fcn.00406b70
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov ebx, esp
push eax
call fcn.00401200
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.00404070
xor eax, eax
add esp, 4
cmp dword [ebp - 0x18], eax
mov ecx, 0xfffffffc
cmove eax, ecx
add edi, 0xfffffff0
or ebx, 0xffffffff
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0xc
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4070b6
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0xb
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4070d3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4070f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x407113
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00407170
mov edi, dword [ebp - 0x10]
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x407140
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret