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

Disassembly:
push ebp
lea ebp, [esp - 0x254]
sub esp, 0x254
push 0xfffffffffffffffe
push 0x47ffe0
push 0x408860
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x482534]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x250], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x1c], esi
xor eax, eax
and esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 0xc
jl 0x45d4f8
test esi, esi
jge 0x45d518
mov eax, esi
neg eax
add eax, eax
add eax, eax
sub eax, esi
mov esi, eax
mov dword [ebp - 0x1c], 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 0x45d53d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
mov dword [ebp - 0x1c], esi
xor eax, eax
nop
add esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 3
jl 0x45d540
cmp esi, 0xffff
jle 0x45d563
lea eax, [esi*8]
sub eax, esi
mov esi, eax
mov dword [ebp - 0x1c], 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 0x45d587
mov esi, 0xd
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
xor edx, edx
mov ecx, 3
div ecx
cmp edx, 1
jne 0x45d5a4
call ebx
add esi, eax
mov dword [ebp - 0x1c], esi
xor ecx, ecx
xor esi, ecx
mov dword [ebp - 0x1c], esi
jge 0x45d5b2
neg esi
mov dword [ebp - 0x1c], 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 0x45d5d9
xor esi, esi
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 0xe
jl 0x45d5a6
xor eax, eax
xor esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 2
jl 0x45d5e3
test esi, esi
jge 0x45d5f9
neg esi
mov dword [ebp - 0x1c], 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 0x45d626
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x1c], esi
xor eax, eax
add esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 0x1a
jl 0x45d628
cmp esi, 0xffff
jle 0x45d64b
lea eax, [esi*8]
sub eax, esi
mov esi, eax
mov dword [ebp - 0x1c], 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 0x45d66f
mov esi, 0xd
mov dword [ebp - 0x1c], esi
call ebx
xor edx, edx
mov ecx, 3
div ecx
cmp edx, 1
jne 0x45d686
call ebx
add esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0x28], edi
cmp edi, 0x10
jge 0x45d6d6
cmp esi, 0xffff0001
jge 0x45d6af
lea edx, [esi*8]
sub edx, esi
neg edx
mov esi, edx
mov dword [ebp - 0x1c], 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 0x45d6d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x1c], esi
add edi, 1
jmp 0x45d68f
mov dword [ebp - 4], 0xfffffffe
call fcn.0045d782
xor eax, eax
and esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 0xa
jl 0x45d6e4
test esi, esi
jge 0x45d704
mov edx, esi
neg edx
add edx, edx
add edx, edx
sub edx, esi
mov esi, edx
mov dword [ebp - 0x1c], 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 0x45d729
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 1
xor edi, edi
mov dword [ebp - 0x34], edi
cmp edi, 5
jge 0x45d78c
cmp esi, 0xffff0001
jge 0x45d752
lea edx, [esi*8]
sub edx, esi
neg edx
mov esi, edx
mov dword [ebp - 0x1c], 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 0x45d774
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x1c], esi
add edi, 1
jmp 0x45d732
mov dword [ebp - 4], 0xfffffffe
call fcn.0045dc02
mov dword [ebp - 0x1c], esi
lea edx, [ebp]
push edx
push 0x478160
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor eax, eax
lea esp, [esp]
add esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 4
jl 0x45d7b0
cmp esi, 0xffff
jle 0x45d7d3
lea eax, [esi*8]
sub eax, esi
mov esi, eax
mov dword [ebp - 0x1c], 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 0x45d7f7
mov esi, 0xd
mov dword [ebp - 0x1c], esi
call ebx
xor edx, edx
mov ecx, 3
div ecx
cmp edx, 1
jne 0x45d80e
call ebx
add esi, eax
mov dword [ebp - 0x1c], esi
xor eax, eax
xor esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 6
jl 0x45d810
test esi, esi
jge 0x45d826
neg esi
mov dword [ebp - 0x1c], 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 0x45d853
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x1c], esi
xor ecx, ecx
xor esi, ecx
mov dword [ebp - 0x1c], esi
jge 0x45d861
neg esi
mov dword [ebp - 0x1c], 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 0x45d888
xor esi, esi
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 7
jl 0x45d855
xor eax, eax
add esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 6
jl 0x45d892
cmp esi, 0xffff
jle 0x45d8b5
lea ecx, [esi*8]
sub ecx, esi
mov esi, ecx
mov dword [ebp - 0x1c], 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 0x45d8d9
mov esi, 0xd
mov dword [ebp - 0x1c], esi
call ebx
xor edx, edx
mov ecx, 3
div ecx
cmp edx, 1
jne 0x45d8f0
call ebx
add esi, eax
mov dword [ebp - 0x1c], esi
xor eax, eax
xor esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 5
jl 0x45d8f2
test esi, esi
jge 0x45d908
neg esi
mov dword [ebp - 0x1c], 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 0x45d935
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x1c], esi
xor eax, eax
and esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 6
jl 0x45d937
test esi, esi
jge 0x45d957
mov ecx, esi
neg ecx
add ecx, ecx
add ecx, ecx
sub ecx, esi
mov esi, ecx
mov dword [ebp - 0x1c], 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
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
sub ecx, eax
jne 0x45d97e
call edi
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x1c], esi
cmp esi, 0xffff
jle 0x45d997
lea edx, [esi*8]
sub edx, esi
mov esi, edx
mov dword [ebp - 0x1c], 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 0x45d9bb
mov esi, 0xd
mov dword [ebp - 0x1c], esi
call ebx
xor edx, edx
mov ecx, 3
div ecx
cmp edx, 1
jne 0x45d9d2
call ebx
add esi, eax
mov dword [ebp - 0x1c], esi
xor eax, eax
and esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 4
jl 0x45d9d4
test esi, esi
jge 0x45d9f4
mov edx, esi
neg edx
add edx, edx
add edx, edx
sub edx, esi
mov esi, edx
mov dword [ebp - 0x1c], 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 0x45da15
call edi
mov esi, eax
mov dword [ebp - 0x1c], esi
xor eax, eax
add esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 2
jl 0x45da17
cmp esi, 0xffff
jle 0x45da3a
lea edx, [esi*8]
sub edx, esi
mov esi, edx
mov dword [ebp - 0x1c], 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 0x45da5e
mov esi, 0xd
mov dword [ebp - 0x1c], esi
call ebx
xor edx, edx
mov ecx, 3
div ecx
cmp edx, 1
jne 0x45da75
call ebx
add esi, eax
mov dword [ebp - 0x1c], esi
xor ecx, ecx
xor esi, ecx
mov dword [ebp - 0x1c], esi
jge 0x45da83
neg esi
mov dword [ebp - 0x1c], 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 0x45daaa
xor esi, esi
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 5
jl 0x45da77
cmp esi, 0xffff
jle 0x45dac8
lea ecx, [esi*8]
sub ecx, esi
mov esi, ecx
mov dword [ebp - 0x1c], 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 0x45daec
mov esi, 0xd
mov dword [ebp - 0x1c], esi
call ebx
xor edx, edx
mov ecx, 3
div ecx
cmp edx, 1
jne 0x45db03
call ebx
add esi, eax
mov dword [ebp - 0x1c], esi
xor esi, esi
mov dword [ebp - 0x1c], esi
jge 0x45db19
mov edx, esi
neg edx
add edx, edx
add edx, edx
sub edx, esi
mov esi, edx
mov dword [ebp - 0x1c], 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 0x45db3a
call edi
mov esi, eax
mov dword [ebp - 0x1c], esi
xor eax, eax
lea esp, [esp]
add esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 4
jl 0x45db40
cmp esi, 0xffff
jle 0x45db63
lea edx, [esi*8]
sub edx, esi
mov esi, edx
mov dword [ebp - 0x1c], 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 0x45db87
mov esi, 0xd
mov dword [ebp - 0x1c], esi
call ebx
xor edx, edx
mov ecx, 3
div ecx
cmp edx, 1
jne 0x45db9e
call ebx
add esi, eax
mov dword [ebp - 0x1c], esi
xor esi, esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 4], 2
xor edi, edi
mov dword [ebp - 0x20], edi
cmp edi, 8
jge 0x45dc0c
cmp esi, 0xffff0001
jge 0x45dbd2
lea edx, [esi*8]
sub edx, esi
neg edx
mov esi, edx
mov dword [ebp - 0x1c], 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 0x45dbf4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x1c], esi
add edi, 1
jmp 0x45dbb2
mov dword [ebp - 4], 0xfffffffe
call fcn.0045dca8
xor eax, eax
lea ebx, [ebx]
add esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 3
jl 0x45dc20
cmp esi, 0xffff
jle 0x45dc43
lea edx, [esi*8]
sub edx, esi
mov esi, edx
mov dword [ebp - 0x1c], 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 0x45dc67
mov esi, 0xd
mov dword [ebp - 0x1c], esi
call ebx
xor edx, edx
mov ecx, 3
div ecx
cmp edx, 1
jne 0x45dc7e
call ebx
add esi, eax
mov dword [ebp - 0x1c], 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 0x45dcb2
cmp eax, 3
je 0x45dcb2
xor esi, ecx
jmp 0x45dcb7
mov eax, ecx
imul esi, eax
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 2
jl 0x45dc80
lea ecx, [ebp]
push ecx
push 0x478168
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
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 0x45dcf2
cmp eax, 4
je 0x45dcf2
and esi, edi
jmp 0x45dcf4
sub esi, edi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
add edi, 1
cmp edi, 6
jl 0x45dcd3
mov dword [ebp - 4], 3
xor edi, edi
mov dword [ebp - 0x30], edi
cmp edi, 5
jge 0x45dd55
cmp esi, 0xffff0001
jge 0x45dd2e
lea eax, [esi*8]
sub eax, esi
neg eax
mov esi, eax
mov dword [ebp - 0x1c], 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 0x45dd50
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x1c], esi
add edi, 1
jmp 0x45dd0e
mov dword [ebp - 4], 0xfffffffe
call fcn.0045dd8b
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 0x45dd95
cmp eax, 3
je 0x45dd95
xor esi, ecx
jmp 0x45dd9a
mov eax, ecx
imul esi, eax
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 3
jl 0x45dd63
lea ecx, [ebp]
push ecx
push 0x478170
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor eax, eax
xor esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 6
jl 0x45ddb6
test esi, esi
jge 0x45ddcc
neg esi
mov dword [ebp - 0x1c], 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 0x45ddf9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x1c], esi
xor ecx, ecx
jmp 0x45de00
xor esi, ecx
mov dword [ebp - 0x1c], esi
jge 0x45de0c
neg esi
mov dword [ebp - 0x1c], 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 0x45de33
xor esi, esi
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 2
jl 0x45de00
xor eax, eax
lea ecx, [ecx]
add esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 5
jl 0x45de40
cmp esi, 0xffff
jle 0x45de63
lea ecx, [esi*8]
sub ecx, esi
mov esi, ecx
mov dword [ebp - 0x1c], 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 0x45de87
mov esi, 0xd
mov dword [ebp - 0x1c], esi
call ebx
xor edx, edx
mov ecx, 3
div ecx
cmp edx, 1
jne 0x45de9e
call ebx
add esi, eax
mov dword [ebp - 0x1c], esi
xor eax, eax
and esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 5
jl 0x45dea0
test esi, esi
jge 0x45dec0
mov edx, esi
neg edx
add edx, edx
add edx, edx
sub edx, esi
mov esi, edx
mov dword [ebp - 0x1c], 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
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
sub ecx, eax
jne 0x45dee7
call edi
mov esi, eax
mov dword [ebp - 0x1c], esi
xor eax, eax
lea esp, [esp]
and esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 6
jl 0x45def0
test esi, esi
jge 0x45df10
mov edx, esi
neg edx
add edx, edx
add edx, edx
sub edx, esi
mov esi, edx
mov dword [ebp - 0x1c], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xd
sub esi, eax
jne 0x45df2d
call edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov dword [ebp - 0x1c], esi
jge 0x45df43
mov ecx, esi
neg ecx
add ecx, ecx
add ecx, ecx
sub ecx, esi
mov esi, ecx
mov dword [ebp - 0x1c], 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 0x45df64
call edi
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x1c], esi
cmp esi, 0xffff
jle 0x45df7d
lea edx, [esi*8]
sub edx, esi
mov esi, edx
mov dword [ebp - 0x1c], 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 0x45dfa1
mov esi, 0xd
mov dword [ebp - 0x1c], esi
call ebx
xor edx, edx
mov ecx, 3
div ecx
cmp edx, 1
jne 0x45dfb8
call ebx
add esi, eax
mov dword [ebp - 0x1c], esi
xor eax, eax
lea ebx, [ebx]
and esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 8
jl 0x45dfc0
test esi, esi
jge 0x45dfe0
mov edx, esi
neg edx
add edx, edx
add edx, edx
sub edx, esi
mov esi, edx
mov dword [ebp - 0x1c], 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 0x45e001
call edi
mov esi, eax
mov dword [ebp - 0x1c], esi
xor eax, eax
and esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 7
jl 0x45e003
test esi, esi
jge 0x45e023
mov edx, esi
neg edx
add edx, edx
add edx, edx
sub edx, esi
mov esi, edx
mov dword [ebp - 0x1c], 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 0x45e044
call edi
mov esi, eax
mov dword [ebp - 0x1c], 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 0x45e065
cmp eax, 3
je 0x45e065
xor esi, ecx
jmp 0x45e06a
mov eax, ecx
imul esi, eax
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 6
jl 0x45e046
lea ecx, [ebp]
push ecx
push 0x478178
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp esi, 0xffff
jle 0x45e09a
lea edx, [esi*8]
sub edx, esi
mov esi, edx
mov dword [ebp - 0x1c], 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 0x45e0be
mov esi, 0xd
mov dword [ebp - 0x1c], esi
call ebx
xor edx, edx
mov ecx, 3
div ecx
cmp edx, 1
jne 0x45e0d5
call ebx
add esi, eax
mov dword [ebp - 0x1c], esi
xor eax, eax
and esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 2
jl 0x45e0d7
test esi, esi
jge 0x45e0f7
mov edx, esi
neg edx
add edx, edx
add edx, edx
sub edx, esi
mov esi, edx
mov dword [ebp - 0x1c], 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 0x45e118
call edi
mov esi, eax
mov dword [ebp - 0x1c], esi
xor ecx, ecx
lea ebx, [ebx]
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x45e13f
cmp eax, 3
je 0x45e13f
xor esi, ecx
jmp 0x45e144
mov eax, ecx
imul esi, eax
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 4
jl 0x45e120
lea ecx, [ebp]
push ecx
push 0x478180
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
call ebx
xor eax, eax
and esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 4
jl 0x45e162
test esi, esi
jge 0x45e182
mov edx, esi
neg edx
add edx, edx
add edx, edx
sub edx, esi
mov esi, edx
mov dword [ebp - 0x1c], 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 0x45e1a3
call edi
mov esi, eax
mov dword [ebp - 0x1c], esi
xor ecx, ecx
xor esi, ecx
mov dword [ebp - 0x1c], esi
jge 0x45e1b1
neg esi
mov dword [ebp - 0x1c], 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 0x45e1d8
xor esi, esi
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 3
jl 0x45e1a5
xor ecx, ecx
xor esi, ecx
mov dword [ebp - 0x1c], esi
jge 0x45e1ee
neg esi
mov dword [ebp - 0x1c], 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 0x45e215
xor esi, esi
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 3
jl 0x45e1e2
test esi, esi
jge 0x45e230
mov ecx, esi
neg ecx
add ecx, ecx
add ecx, ecx
sub ecx, esi
mov esi, ecx
mov dword [ebp - 0x1c], 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 0x45e251
call edi
mov esi, eax
mov dword [ebp - 0x1c], 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 0x45e272
cmp eax, 3
je 0x45e272
xor esi, ecx
jmp 0x45e277
mov eax, ecx
imul esi, eax
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 3
jl 0x45e253
lea ecx, [ebp]
push ecx
push 0x478188
call ebx
mov dword [ebp - 4], 4
xor edi, edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], edi
test edi, edi
jge 0x45e2de
cmp esi, 0xffff0001
jge 0x45e2bb
mov dword [ebp - 4], 0xfffffffe
call fcn.0045e33f
mov dword [ebp - 4], 5
xor edi, edi
mov dword [ebp - 0x2c], edi
cmp edi, 4
jge 0x45e349