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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x47e5a0
push 0x408860
mov eax, dword fs:[0]
push eax
sub esp, 0x288
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 edi, edi
xor esi, esi
mov dword [ebp - 0x274], esi
mov dword [ebp - 4], edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x290], edi
cmp edi, 8
jge 0x41d805
cmp esi, 0xffff0001
jge 0x41d7df
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 0x41d800
call ebx
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x41d7b9
mov dword [ebp - 4], 0xfffffffe
call fcn.0041d838
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 0x41d845
cmp eax, 3
je 0x41d845
xor esi, ecx
jmp 0x41d84a
mov eax, ecx
imul esi, eax
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 0xd
jl 0x41d813
lea ecx, [ebp - 0x270]
push ecx
push 0x47c718
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
call ebx
xor eax, eax
mov edi, edi
and esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 7
jl 0x41d870
test esi, esi
jge 0x41d896
mov edx, esi
neg edx
add edx, edx
add edx, edx
sub edx, esi
mov esi, edx
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 0x41d8be
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 0x41d8df
cmp eax, 3
je 0x41d8df
xor esi, ecx
jmp 0x41d8e4
mov eax, ecx
imul esi, eax
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 5
jl 0x41d8c0
lea ecx, [ebp - 0x270]
push ecx
push 0x47c720
call ebx
mov dword [ebp - 4], 1
xor edi, edi
mov dword [ebp - 0x294], edi
cmp edi, 7
jge 0x41d959
cmp esi, 0xffff0001
jge 0x41d92f
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 0x41d954
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x41d909
mov dword [ebp - 4], 0xfffffffe
call fcn.0041d99b
xor ecx, ecx
jmp 0x41d970
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x41d9a8
cmp eax, 3
je 0x41d9a8
xor esi, ecx
jmp 0x41d9ad
mov eax, ecx
imul esi, eax
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 9
jl 0x41d970
lea ecx, [ebp - 0x270]
push ecx
push 0x47c728
call ebx
lea edx, [ebp - 0x270]
push edx
push 0x47c730
call ebx
xor ecx, ecx
lea esp, [esp]
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x41d9ff
cmp eax, 3
je 0x41d9ff
xor esi, ecx
jmp 0x41da04
mov eax, ecx
imul esi, eax
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 6
jl 0x41d9e0
lea ecx, [ebp - 0x270]
push ecx
push 0x47c738
call ebx
xor eax, eax
xor esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 3
jl 0x41da22
test esi, esi
jge 0x41da3e
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 0x41da6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
mov dword [ebp - 4], 2
xor edi, edi
mov dword [ebp - 0x280], edi
cmp edi, 5
jge 0x41dac7
cmp esi, 0xffff0001
jge 0x41da9d
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 0x41dac2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x41da77
mov dword [ebp - 4], 0xfffffffe
call fcn.0041db60
cmp esi, 0xffff
jle 0x41daec
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 0x41db13
mov esi, 0xd
mov dword [ebp - 0x274], esi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
xor edx, edx
mov ecx, 3
div ecx
cmp edx, 1
jne 0x41db33
call edi
add 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 0x41db6d
cmp eax, 3
je 0x41db6d
xor esi, ecx
jmp 0x41db72
mov eax, ecx
imul esi, eax
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 3
jl 0x41db35
lea ecx, [ebp - 0x270]
push ecx
push 0x47c740
call ebx
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 0x41dbaf
cmp eax, 3
je 0x41dbaf
xor esi, ecx
jmp 0x41dbb4
mov eax, ecx
imul esi, eax
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 8
jl 0x41db90
lea ecx, [ebp - 0x270]
push ecx
push 0x47c748
call ebx
mov dword [ebp - 0x274], esi
cmp esi, 0xffff
jle 0x41dbef
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 0x41dc16
mov esi, 0xd
mov dword [ebp - 0x274], esi
call edi
xor edx, edx
mov ecx, 3
div ecx
cmp edx, 1
jne 0x41dc30
call edi
add esi, eax
mov dword [ebp - 0x274], esi
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 0x41dc51
cmp eax, 4
je 0x41dc51
and esi, edi
jmp 0x41dc53
sub esi, edi
mov dword [ebp - 0x274], esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
add edi, 1
cmp edi, 2
jl 0x41dc32
xor ecx, ecx
lea esp, [esp]
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x41dc8f
cmp eax, 3
je 0x41dc8f
xor esi, ecx
jmp 0x41dc94
mov eax, ecx
imul esi, eax
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 8
jl 0x41dc70
lea ecx, [ebp - 0x270]
push ecx
push 0x47c750
call ebx
xor edi, edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
mov eax, 0xcccccccd
mul edi
shr edx, 2
lea edx, [edx + edx*4]
mov eax, edi
sub eax, edx
cmp eax, 1
je 0x41dcd7
cmp eax, 4
je 0x41dcd7
and esi, edi
jmp 0x41dcd9
sub esi, edi
mov dword [ebp - 0x274], esi
call ebx
add edi, 1
cmp edi, 3
jl 0x41dcb8
mov dword [ebp - 4], 3
xor edi, edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x278], edi
cmp edi, 7
jge 0x41dd44
cmp esi, 0xffff0001
jge 0x41dd1e
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 0x41dd3f
call ebx
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x41dcf8
mov dword [ebp - 4], 0xfffffffe
call fcn.0041ddb1
mov dword [ebp - 4], 4
xor edi, edi
mov dword [ebp - 0x288], edi
cmp edi, 3
jge 0x41ddbe
cmp esi, 0xffff0001
jge 0x41dd7f
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 0x41dda0
call ebx
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x41dd59
mov dword [ebp - 4], 0xfffffffe
call fcn.0041de2b
mov dword [ebp - 4], 5
xor edi, edi
mov dword [ebp - 0x27c], edi
cmp edi, 4
jge 0x41de38
cmp esi, 0xffff0001
jge 0x41ddf9
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 0x41de1a
call ebx
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x41ddd3
mov dword [ebp - 4], 0xfffffffe
call fcn.0041dfe9
xor eax, eax
jmp 0x41de50
and esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 5
jl 0x41de50
test esi, esi
jge 0x41de76
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
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
sub edx, ecx
jne 0x41dea0
call ebx
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 0x41dea2
test esi, esi
jge 0x41debe
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
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
sub edx, ecx
jne 0x41def0
call edi
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 0x41def2
test esi, esi
jge 0x41df0e
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 0x41df3a
call edi
mov esi, eax
mov dword [ebp - 0x274], esi
xor eax, eax
lea esp, [esp]
xor esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 6
jl 0x41df40
test esi, esi
jge 0x41df5c
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 0x41df88
call edi
mov esi, eax
mov dword [ebp - 0x274], esi
test esi, esi
jge 0x41df9e
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 0x41dfc2
call ebx
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 0x41dff6
cmp eax, 4
je 0x41dff6
and esi, edi
jmp 0x41dff8
sub esi, edi
mov dword [ebp - 0x274], esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
add edi, 1
cmp edi, 4
jl 0x41dfc4
xor eax, eax
mov edi, edi
and esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 3
jl 0x41e010
test esi, esi
jge 0x41e036
mov edx, esi
neg edx
add edx, edx
add edx, edx
sub edx, esi
mov esi, edx
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 0x41e05a
call ebx
mov esi, eax
mov dword [ebp - 0x274], esi
xor ecx, ecx
lea esp, [esp]
xor esi, ecx
mov dword [ebp - 0x274], esi
jge 0x41e072
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 0x41e09c
xor esi, esi
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 6
jl 0x41e060
xor eax, eax
jmp 0x41e0b0
add esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 3
jl 0x41e0b0
cmp esi, 0xffff
jle 0x41e0d9
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 0x41e100
mov esi, 0xd
mov dword [ebp - 0x274], esi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
xor edx, edx
mov ecx, 3
div ecx
cmp edx, 1
jne 0x41e120
call edi
add esi, eax
mov dword [ebp - 0x274], esi
xor edi, edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
jmp 0x41e130
mov eax, 0xcccccccd
mul edi
shr edx, 2
lea edx, [edx + edx*4]
mov eax, edi
sub eax, edx
cmp eax, 1
je 0x41e14f
cmp eax, 4
je 0x41e14f
and esi, edi
jmp 0x41e151
sub esi, edi
mov dword [ebp - 0x274], esi
call ebx
add edi, 1
cmp edi, 5
jl 0x41e130
mov dword [ebp - 4], 6
xor edi, edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x284], edi
cmp edi, 1
jge 0x41e1bc
cmp esi, 0xffff0001
jge 0x41e196
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 0x41e1b7
call ebx
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x41e170
mov dword [ebp - 4], 0xfffffffe
call fcn.0041e279
xor eax, eax
lea ebx, [ebx]
xor esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 2
jl 0x41e1d0
test esi, esi
jge 0x41e1ec
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 0x41e218
call ebx
mov esi, eax
mov dword [ebp - 0x274], esi
mov dword [ebp - 4], 7
xor edi, edi
mov dword [ebp - 0x28c], edi
cmp edi, 2
jge 0x41e286
cmp esi, 0xffff0001
jge 0x41e247
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 0x41e268
call ebx
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x41e221
mov dword [ebp - 4], 0xfffffffe
call fcn.0041e2b6
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0040470b
mov esp, ebp
pop ebp
ret