Function at 0x4658c0
Capabilities:
Check for time delay via gettickcount
Check os version
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x480328
push 0x408860
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x482534]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x274], esi
xor eax, eax
and esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 0x39
jl 0x465900
test esi, esi
jge 0x465926
mov eax, esi
neg eax
add eax, eax
add eax, eax
sub eax, esi
mov esi, eax
mov dword [ebp - 0x274], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0xd
mov edx, esi
sub edx, ecx
jne 0x46594e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
mov dword [ebp - 0x274], esi
xor ecx, ecx
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x46596f
cmp eax, 3
je 0x46596f
xor esi, ecx
jmp 0x465974
mov eax, ecx
imul esi, eax
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 0x31
jl 0x465950
lea ecx, [ebp - 0x270]
push ecx
push 0x477ef8
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
call edi
xor ecx, ecx
jmp 0x4659a0
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x4659bf
cmp eax, 3
je 0x4659bf
xor esi, ecx
jmp 0x4659c4
mov eax, ecx
imul esi, eax
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 0x40
jl 0x4659a0
lea ecx, [ebp - 0x270]
push ecx
push 0x477f00
call edi
mov dword [ebp - 4], 0
xor edi, edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x294], edi
cmp edi, 0x1e
jge 0x465a3b
cmp esi, 0xffff0001
jge 0x465a15
lea edx, [esi*8]
sub edx, esi
neg edx
mov esi, edx
mov dword [ebp - 0x274], esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
mov ecx, esi
sub ecx, eax
jne 0x465a36
call ebx
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x4659ef
mov dword [ebp - 4], 0xfffffffe
call fcn.00465cd9
xor ecx, ecx
lea esp, [esp]
xor esi, ecx
mov dword [ebp - 0x274], esi
jge 0x465a62
neg esi
mov dword [ebp - 0x274], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x465a8c
xor esi, esi
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 0x1e
jl 0x465a50
xor eax, eax
jmp 0x465aa0
xor esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 8
jl 0x465aa0
test esi, esi
jge 0x465abc
neg esi
mov dword [ebp - 0x274], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov edx, esi
sub edx, ecx
jne 0x465ae8
call ebx
mov esi, eax
mov dword [ebp - 0x274], esi
xor ecx, ecx
lea ebx, [ebx]
xor esi, ecx
mov dword [ebp - 0x274], esi
jge 0x465b02
neg esi
mov dword [ebp - 0x274], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x465b2c
xor esi, esi
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 8
jl 0x465af0
xor eax, eax
jmp 0x465b40
and esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 7
jl 0x465b40
test esi, esi
jge 0x465b66
mov ecx, esi
neg ecx
add ecx, ecx
add ecx, ecx
sub ecx, esi
mov esi, ecx
mov dword [ebp - 0x274], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xd
mov ecx, esi
sub ecx, eax
jne 0x465b8e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
mov dword [ebp - 0x274], esi
xor eax, eax
xor esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 8
jl 0x465b90
test esi, esi
jge 0x465bac
neg esi
mov dword [ebp - 0x274], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x465bd8
call ebx
mov esi, eax
mov dword [ebp - 0x274], esi
xor eax, eax
lea ebx, [ebx]
and esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 0xb
jl 0x465be0
test esi, esi
jge 0x465c06
mov ecx, esi
neg ecx
add ecx, ecx
add ecx, ecx
sub ecx, esi
mov esi, ecx
mov dword [ebp - 0x274], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xd
mov ecx, esi
sub ecx, eax
jne 0x465c2e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
mov dword [ebp - 0x274], esi
xor eax, eax
xor esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 5
jl 0x465c30
test esi, esi
jge 0x465c4c
neg esi
mov dword [ebp - 0x274], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x465c78
call ebx
mov esi, eax
mov dword [ebp - 0x274], esi
mov dword [ebp - 4], 1
xor edi, edi
mov dword [ebp - 0x2b0], edi
cmp edi, 0x10
jge 0x465ce6
cmp esi, 0xffff0001
jge 0x465ca7
lea ecx, [esi*8]
sub ecx, esi
neg ecx
mov esi, ecx
mov dword [ebp - 0x274], esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, esi
sub eax, edx
jne 0x465cc8
call ebx
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x465c81
mov dword [ebp - 4], 0xfffffffe
call fcn.00465d53
mov dword [ebp - 4], 2
xor edi, edi
mov dword [ebp - 0x2a4], edi
cmp edi, 6
jge 0x465d60
cmp esi, 0xffff0001
jge 0x465d21
lea ecx, [esi*8]
sub ecx, esi
neg ecx
mov esi, ecx
mov dword [ebp - 0x274], esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, esi
sub eax, edx
jne 0x465d42
call ebx
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x465cfb
mov dword [ebp - 4], 0xfffffffe
call fcn.00465d99
xor edi, edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
mov eax, 0xcccccccd
mul edi
shr edx, 2
lea ecx, [edx + edx*4]
mov eax, edi
sub eax, ecx
cmp eax, 1
je 0x465da6
cmp eax, 4
je 0x465da6
and esi, edi
jmp 0x465da8
sub esi, edi
mov dword [ebp - 0x274], esi
call ebx
add edi, 1
cmp edi, 8
jl 0x465d74
xor ecx, ecx
lea ebx, [ebx]
xor esi, ecx
mov dword [ebp - 0x274], esi
jge 0x465dd2
neg esi
mov dword [ebp - 0x274], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x465dfc
xor esi, esi
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 4
jl 0x465dc0
xor ecx, ecx
xor esi, ecx
mov dword [ebp - 0x274], esi
jge 0x465e18
neg esi
mov dword [ebp - 0x274], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x465e42
xor esi, esi
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 8
jl 0x465e06
xor ecx, ecx
lea esp, [esp]
xor esi, ecx
mov dword [ebp - 0x274], esi
jge 0x465e62
neg esi
mov dword [ebp - 0x274], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x465e8c
xor esi, esi
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 6
jl 0x465e50
xor esi, esi
mov dword [ebp - 0x274], esi
jge 0x465eb0
mov ecx, esi
neg ecx
add ecx, ecx
add ecx, ecx
sub ecx, esi
mov esi, ecx
mov dword [ebp - 0x274], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xd
mov ecx, esi
sub ecx, eax
jne 0x465ed8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
mov dword [ebp - 0x274], esi
mov dword [ebp - 4], 3
xor edi, edi
mov dword [ebp - 0x284], edi
cmp edi, 8
jge 0x465f31
cmp esi, 0xffff0001
jge 0x465f07
lea edx, [esi*8]
sub edx, esi
neg edx
mov esi, edx
mov dword [ebp - 0x274], esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
mov ecx, esi
sub ecx, eax
jne 0x465f2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x465ee1
mov dword [ebp - 4], 0xfffffffe
call fcn.0046602d
xor eax, eax
nop
xor esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 5
jl 0x465f40
test esi, esi
jge 0x465f5c
neg esi
mov dword [ebp - 0x274], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x465f8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x274], esi
test esi, esi
jge 0x465f9e
neg esi
mov dword [ebp - 0x274], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov edx, esi
sub edx, ecx
jne 0x465fc8
xor esi, esi
mov dword [ebp - 0x274], esi
mov dword [ebp - 4], 4
xor edi, edi
mov dword [ebp - 0x29c], edi
cmp edi, 8
jge 0x46603a
cmp esi, 0xffff0001
jge 0x465ff7
lea eax, [esi*8]
sub eax, esi
neg eax
mov esi, eax
mov dword [ebp - 0x274], esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov edx, esi
sub edx, ecx
jne 0x46601c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x465fd1
mov dword [ebp - 4], 0xfffffffe
call fcn.004660ab
mov dword [ebp - 4], 5
xor edi, edi
mov dword [ebp - 0x28c], edi
cmp edi, 8
jge 0x4660b8
cmp esi, 0xffff0001
jge 0x466075
lea eax, [esi*8]
sub eax, esi
neg eax
mov esi, eax
mov dword [ebp - 0x274], esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov edx, esi
sub edx, ecx
jne 0x46609a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x46604f
mov dword [ebp - 4], 0xfffffffe
call fcn.0046618b
xor ecx, ecx
xor esi, ecx
mov dword [ebp - 0x274], esi
jge 0x4660d8
neg esi
mov dword [ebp - 0x274], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x466102
xor esi, esi
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 7
jl 0x4660c6
xor eax, eax
lea esp, [esp]
xor esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 3
jl 0x466110
test esi, esi
jge 0x46612c
neg esi
mov dword [ebp - 0x274], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov edx, esi
sub edx, ecx
jne 0x46615c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
xor edi, edi
mov edi, edi
mov eax, 0xcccccccd
mul edi
shr edx, 2
lea ecx, [edx + edx*4]
mov eax, edi
sub eax, ecx
cmp eax, 1
je 0x466198
cmp eax, 4
je 0x466198
and esi, edi
jmp 0x46619a
sub esi, edi
mov dword [ebp - 0x274], esi
call ebx
add edi, 1
cmp edi, 3
jl 0x466160
xor eax, eax
lea esp, [esp]
xor esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 7
jl 0x4661b0
test esi, esi
jge 0x4661cc
neg esi
mov dword [ebp - 0x274], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x4661fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
xor ecx, ecx
mov edi, edi
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x46621f
cmp eax, 3
je 0x46621f
xor esi, ecx
jmp 0x466224
mov eax, ecx
imul esi, eax
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 4
jl 0x466200
lea ecx, [ebp - 0x270]
push ecx
push 0x477f08
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
call edi
xor eax, eax
jmp 0x466250
xor esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 8
jl 0x466250
test esi, esi
jge 0x46626c
neg esi
mov dword [ebp - 0x274], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x46629c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
xor ecx, ecx
mov edi, edi
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x4662bf
cmp eax, 3
je 0x4662bf
xor esi, ecx
jmp 0x4662c4
mov eax, ecx
imul esi, eax
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 3
jl 0x4662a0
lea ecx, [ebp - 0x270]
push ecx
push 0x477f10
call edi
mov dword [ebp - 4], 6
xor edi, edi
mov dword [ebp - 0x2ac], edi
cmp edi, 7
jge 0x466339
cmp esi, 0xffff0001
jge 0x46630f
lea edx, [esi*8]
sub edx, esi
neg edx
mov esi, edx
mov dword [ebp - 0x274], esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
mov ecx, esi
sub ecx, eax
jne 0x466334
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x4662e9
mov dword [ebp - 4], 0xfffffffe
call fcn.004663ae
mov dword [ebp - 0x274], esi
test esi, esi
jge 0x466357
neg esi
mov dword [ebp - 0x274], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x466381
xor esi, esi
mov dword [ebp - 0x274], esi
xor edi, edi
mov eax, 0xcccccccd
mul edi
shr edx, 2
lea ecx, [edx + edx*4]
mov eax, edi
sub eax, ecx
cmp eax, 1
je 0x4663bb
cmp eax, 4
je 0x4663bb
and esi, edi
jmp 0x4663bd
sub esi, edi
mov dword [ebp - 0x274], esi
call ebx
add edi, 1
cmp edi, 4
jl 0x466383
xor edi, edi
nop
mov eax, 0xcccccccd
mul edi
shr edx, 2
lea edx, [edx + edx*4]
mov eax, edi
sub eax, edx
cmp eax, 1
je 0x4663ef
cmp eax, 4
je 0x4663ef
and esi, edi
jmp 0x4663f1
sub esi, edi
mov dword [ebp - 0x274], esi
call ebx
add edi, 1
cmp edi, 4
jl 0x4663d0
xor eax, eax
and esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 3
jl 0x466403
test esi, esi
jge 0x466429
mov eax, esi
neg eax
add eax, eax
add eax, eax
sub eax, esi
mov esi, eax
mov dword [ebp - 0x274], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0xd
mov edx, esi
sub edx, ecx
jne 0x466451
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
mov dword [ebp - 0x274], esi
xor edi, edi
mov eax, 0xcccccccd
mul edi
shr edx, 2
lea ecx, [edx + edx*4]
mov eax, edi
sub eax, ecx
cmp eax, 1
je 0x466472
cmp eax, 4
je 0x466472
and esi, edi
jmp 0x466474
sub esi, edi
mov dword [ebp - 0x274], esi
call ebx
add edi, 1
cmp edi, 2
jl 0x466453
mov dword [ebp - 4], 7
xor edi, edi
mov dword [ebp - 0x278], edi
cmp edi, 4
jge 0x4664dd
cmp esi, 0xffff0001
jge 0x4664b3
lea edx, [esi*8]
sub edx, esi
neg edx
mov esi, edx
mov dword [ebp - 0x274], esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
mov ecx, esi
sub ecx, eax
jne 0x4664d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x46648d
mov dword [ebp - 4], 0xfffffffe
call fcn.00466516
xor edi, edi
mov eax, 0xcccccccd
mul edi
shr edx, 2
lea edx, [edx + edx*4]
mov eax, edi
sub eax, edx
cmp eax, 1
je 0x466523
cmp eax, 4
je 0x466523
and esi, edi
jmp 0x466525
sub esi, edi
mov dword [ebp - 0x274], esi
call ebx
add edi, 1
cmp edi, 4
jl 0x4664eb
cmp esi, 0xffff
jle 0x46654e
lea eax, [esi*8]
sub eax, esi
mov esi, eax
mov dword [ebp - 0x274], esi
mov eax, 0x2e8ba2e9
imul esi
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0xb
mov edx, esi
sub edx, ecx
cmp edx, 7
jne 0x466575
mov esi, 0xd
mov dword [ebp - 0x274], esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
xor edx, edx
mov ecx, 3
div ecx
cmp edx, 1
jne 0x466595
call ebx
add esi, eax
mov dword [ebp - 0x274], esi
mov dword [ebp - 4], 8
xor edi, edi
mov dword [ebp - 0x27c], edi
cmp edi, 1
jge 0x4665ee
cmp esi, 0xffff0001
jge 0x4665c4
lea edx, [esi*8]
sub edx, esi
neg edx
mov esi, edx
mov dword [ebp - 0x274], esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
mov ecx, esi
sub ecx, eax
jne 0x4665e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x46659e
mov dword [ebp - 4], 0xfffffffe
call fcn.004666b9
cmp esi, 0xffff
jle 0x466613
lea edx, [esi*8]
sub edx, esi
mov esi, edx
mov dword [ebp - 0x274], esi
mov eax, 0x2e8ba2e9
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xb
mov ecx, esi
sub ecx, eax
cmp ecx, 7
jne 0x46663a
mov esi, 0xd
mov dword [ebp - 0x274], esi
call ebx
xor edx, edx
mov ecx, 3
div ecx
cmp edx, 1
jne 0x466654
call ebx
add esi, eax
mov dword [ebp - 0x274], esi
mov dword [ebp - 4], 9
xor edi, edi
mov dword [ebp - 0x280], edi
cmp edi, 2
jge 0x4666c6
cmp esi, 0xffff0001
jge 0x466683
lea edx, [esi*8]
sub edx, esi
neg edx
mov esi, edx
mov dword [ebp - 0x274], esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
mov ecx, esi
sub ecx, eax
jne 0x4666a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x46665d
mov dword [ebp - 4], 0xfffffffe
call fcn.00466785
xor eax, eax
xor esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 4
jl 0x4666d4
test esi, esi
jge 0x4666f0
neg esi
mov dword [ebp - 0x274], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x466720
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
mov dword [ebp - 4], 0xa
xor edi, edi
mov dword [ebp - 0x288], edi
cmp edi, 3
jge 0x466792
cmp esi, 0xffff0001
jge 0x46674f
lea ecx, [esi*8]
sub ecx, esi
neg ecx
mov esi, ecx
mov dword [ebp - 0x274], esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, esi
sub eax, edx
jne 0x466774
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x466729
mov dword [ebp - 4], 0xfffffffe
call fcn.004667cb
xor ecx, ecx
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x4667d8
cmp eax, 3
je 0x4667d8
xor esi, ecx
jmp 0x4667dd
mov eax, ecx
imul esi, eax
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 3
jl 0x4667a0
lea ecx, [ebp - 0x270]
push ecx
push 0x477f18
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
call edi
xor ecx, ecx
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x466820
cmp eax, 3
je 0x466820
xor esi, ecx
jmp 0x466825
mov eax, ecx
imul esi, eax
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 4
jl 0x466801
lea ecx, [ebp - 0x270]
push ecx
push 0x477f20
call edi
xor eax, eax
xor esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 3
jl 0x466843
test esi, esi
jge 0x46685f
neg esi
mov dword [ebp - 0x274], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x46688f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
mov dword [ebp - 4], 0xb
xor edi, edi
mov dword [ebp - 0x290], edi
test edi, edi
jge 0x4668e7
cmp esi, 0xffff0001
jge 0x4668bd
lea ecx, [esi*8]
sub ecx, esi
neg ecx
mov esi, ecx
mov dword [ebp - 0x274], esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, esi
sub eax, edx
jne 0x4668e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x466898
mov dword [ebp - 4], 0xfffffffe
call fcn.00466a43
mov dword [ebp - 0x274], esi
test esi, esi
jge 0x466905
neg esi
mov dword [ebp - 0x274], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov edx, esi
sub edx, ecx
jne 0x466935
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
xor eax, eax
jmp 0x466940
and esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 3
jl 0x466940
test esi, esi
jge 0x466966
mov eax, esi
neg eax
add eax, eax
add eax, eax
sub eax, esi
mov esi, eax
mov dword [ebp - 0x274], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0xd
mov edx, esi
sub edx, ecx
jne 0x46698e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
mov dword [ebp - 0x274], esi
xor eax, eax
and esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 3
jl 0x466990
test esi, esi
jge 0x4669b6
mov eax, esi
neg eax
add eax, eax
add eax, eax
sub eax, esi
mov esi, eax
mov dword [ebp - 0x274], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0xd
mov edx, esi
sub edx, ecx
jne 0x4669de
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
mov dword [ebp - 0x274], esi
mov dword [ebp - 4], 0xc
xor edi, edi
mov dword [ebp - 0x298], edi
cmp edi, 3
jge 0x466a50
cmp esi, 0xffff0001
jge 0x466a0d
lea eax, [esi*8]
sub eax, esi
neg eax
mov esi, eax
mov dword [ebp - 0x274], esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov edx, esi
sub edx, ecx
jne 0x466a32
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x4669e7
mov dword [ebp - 4], 0xfffffffe
call fcn.00466aff
test esi, esi
jge 0x466a72
mov eax, esi
neg eax
add eax, eax
add eax, eax
sub eax, esi
mov esi, eax
mov dword [ebp - 0x274], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0xd
mov edx, esi
sub edx, ecx
jne 0x466a9a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
mov dword [ebp - 0x274], esi
mov dword [ebp - 4], 0xd
xor edi, edi
mov dword [ebp - 0x2a0], edi
cmp edi, 3
jge 0x466b0c
cmp esi, 0xffff0001
jge 0x466ac9
lea eax, [esi*8]
sub eax, esi
neg eax
mov esi, eax
mov dword [ebp - 0x274], esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov edx, esi
sub edx, ecx
jne 0x466aee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x466aa3
mov dword [ebp - 4], 0xfffffffe
call fcn.00466c3e
test esi, esi
jge 0x466b24
neg esi
mov dword [ebp - 0x274], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov edx, esi
sub edx, ecx
jne 0x466b54
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
lea eax, [ebp - 0x270]
push eax
push 0x477f28
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor eax, eax
jmp 0x466b70
add esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 3
jl 0x466b70
cmp esi, 0xffff
jle 0x466b99
lea ecx, [esi*8]
sub ecx, esi
mov esi, ecx
mov dword [ebp - 0x274], esi
mov eax, 0x2e8ba2e9
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xb
mov ecx, esi
sub ecx, eax
cmp ecx, 7
jne 0x466bc0
mov esi, 0xd
mov dword [ebp - 0x274], esi
call ebx
xor edx, edx
mov ecx, 3
div ecx
cmp edx, 1
jne 0x466bda