Function at 0x45e680
Capabilities:
Encode data using xor
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1f8]
sub esp, 0x1f8
push 0xfffffffffffffffe
push 0x471660
push 0x408890
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x473534]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x1f4], 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 ecx, ecx
jmp 0x45e6d0
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 1
je 0x45e6ef
cmp eax, 4
je 0x45e6ef
and esi, ecx
jmp 0x45e6f1
sub esi, ecx
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 5
jl 0x45e6d0
push 0xfa
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test esi, esi
jle 0x45e720
lea esi, [esi + esi*4]
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 0x45e73f
mov esi, 0xb
mov dword [ebp - 0x1c], esi
push 0xfa
lea eax, [ebp]
push eax
call ebx
sub edi, 1
jne 0x45e716
xor ecx, ecx
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 1
je 0x45e770
cmp eax, 4
je 0x45e770
and esi, ecx
jmp 0x45e772
sub esi, ecx
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 0x1c
jl 0x45e751
push 0xfa
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov edi, edi
xor esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 0xd
jl 0x45e790
test esi, esi
jge 0x45e7a6
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
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
sub edx, ecx
jne 0x45e7d5
call edi
mov esi, eax
mov dword [ebp - 0x1c], esi
xor ecx, ecx
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, ecx
sub edx, eax
cmp edx, 1
jne 0x45e7f0
and esi, ecx
jmp 0x45e7f2
or esi, ecx
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 0xf
jl 0x45e7d7
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x40], ecx
cmp ecx, 0x20
jge 0x45e84e
mov eax, esi
cdq
sub eax, edx
sar eax, 1
and eax, 0x80000001
jns 0x45e81d
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
je 0x45e846
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 0x45e849
xor esi, esi
mov dword [ebp - 0x1c], esi
add ecx, 1
jmp 0x45e802
mov dword [ebp - 4], 0xfffffffe
call fcn.0045ea08
xor eax, eax
lea esp, [esp]
xor esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 0xf
jl 0x45e860
test esi, esi
jge 0x45e876
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 0x45e89f
call edi
mov esi, eax
mov dword [ebp - 0x1c], esi
mov ecx, esi
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jge 0x45e8ad
neg ecx
mov dword [ebp - 0x1c], ecx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x45e8d6
call edi
mov ecx, eax
mov dword [ebp - 0x1c], ecx
xor eax, eax
xor ecx, eax
mov dword [ebp - 0x1c], ecx
add eax, 1
cmp eax, 0x1e
jl 0x45e8d8
test ecx, ecx
jge 0x45e8ee
neg ecx
mov dword [ebp - 0x1c], ecx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x45e917
call edi
mov ecx, eax
mov dword [ebp - 0x1c], ecx
xor esi, esi
lea esp, [esp]
xor ecx, esi
mov dword [ebp - 0x1c], ecx
jge 0x45e92c
neg ecx
mov dword [ebp - 0x1c], ecx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x45e953
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
add esi, 1
cmp esi, 2
jl 0x45e920
xor eax, eax
lea ecx, [ecx]
or ecx, eax
mov dword [ebp - 0x1c], ecx
add eax, 1
cmp eax, 2
jl 0x45e960
test ecx, ecx
jle 0x45e977
lea ecx, [ecx + ecx*2]
mov dword [ebp - 0x1c], ecx
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xb
mov edx, ecx
sub edx, eax
jne 0x45e99b
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
xor esi, esi
lea ecx, [ecx]
xor ecx, esi
mov dword [ebp - 0x1c], ecx
jge 0x45e9ac
neg ecx
mov dword [ebp - 0x1c], ecx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x45e9d3
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
add esi, 1
cmp esi, 9
jl 0x45e9a0
xor esi, esi
lea ecx, [ecx]
mov eax, 0xaaaaaaab
mul esi
shr edx, 1
lea edx, [edx + edx*2]
mov eax, esi
sub eax, edx
cmp eax, 1
jne 0x45ea12
and ecx, esi
jmp 0x45ea14
or ecx, esi
mov dword [ebp - 0x1c], ecx
add esi, 1
cmp esi, 0x10
jl 0x45e9e0
xor esi, esi
xor ecx, esi
mov dword [ebp - 0x1c], ecx
jge 0x45ea2d
neg ecx
mov dword [ebp - 0x1c], ecx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x45ea54
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
add esi, 1
cmp esi, 2
jl 0x45ea21
mov dword [ebp - 4], 1
xor esi, esi
mov dword [ebp - 0x4c], esi
cmp esi, 1
jge 0x45eab1
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
and eax, 0x80000001
jns 0x45ea80
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
je 0x45eaa9
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x45eaac
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
add esi, 1
jmp 0x45ea65
mov dword [ebp - 4], 0xfffffffe
call fcn.0045eb21
mov dword [ebp - 4], 2
xor esi, esi
mov dword [ebp - 0x28], esi
cmp esi, 4
jge 0x45eb2b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
and eax, 0x80000001
jns 0x45eae1
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
je 0x45eb0a
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x45eb0d
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
add esi, 1
jmp 0x45eac6
mov dword [ebp - 4], 0xfffffffe
call fcn.0045eba9
xor eax, eax
lea esp, [esp]
xor ecx, eax
mov dword [ebp - 0x1c], ecx
add eax, 1
cmp eax, 5
jl 0x45eb40
test ecx, ecx
jge 0x45eb56
neg ecx
mov dword [ebp - 0x1c], ecx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x45eb7f
call edi
mov ecx, eax
mov dword [ebp - 0x1c], ecx
xor esi, esi
mov eax, 0xaaaaaaab
mul esi
shr edx, 1
lea edx, [edx + edx*2]
mov eax, esi
sub eax, edx
cmp eax, 1
jne 0x45ebb3
and ecx, esi
jmp 0x45ebb5
or ecx, esi
mov dword [ebp - 0x1c], ecx
add esi, 1
cmp esi, 7
jl 0x45eb81
xor eax, eax
xor ecx, eax
mov dword [ebp - 0x1c], ecx
add eax, 1
cmp eax, 5
jl 0x45ebc2
test ecx, ecx
jge 0x45ebd8
neg ecx
mov dword [ebp - 0x1c], ecx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x45ec01
call edi
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jle 0x45ec0b
lea ecx, [ecx + ecx*2]
mov dword [ebp - 0x1c], ecx
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xb
mov edx, ecx
sub edx, eax
jne 0x45ec2f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 3
xor ecx, ecx
mov dword [ebp - 0x48], ecx
cmp ecx, 8
jge 0x45ec89
mov eax, esi
cdq
sub eax, edx
sar eax, 1
and eax, 0x80000001
jns 0x45ec58
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
je 0x45ec81
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 0x45ec84
xor esi, esi
mov dword [ebp - 0x1c], esi
add ecx, 1
jmp 0x45ec3d
mov dword [ebp - 4], 0xfffffffe
call fcn.0045ed30
xor ecx, ecx
xor esi, ecx
mov dword [ebp - 0x1c], esi
jge 0x45eca3
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 0x45ecca
xor esi, esi
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 7
jl 0x45ec97
mov dword [ebp - 4], 4
xor ecx, ecx
mov dword [ebp - 0x30], ecx
cmp ecx, 6
jge 0x45ed3a
mov eax, esi
cdq
sub eax, edx
sar eax, 1
and eax, 0x80000001
jns 0x45ecf6
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
je 0x45ed1f
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 0x45ed22
xor esi, esi
mov dword [ebp - 0x1c], esi
add ecx, 1
jmp 0x45ecdb
mov dword [ebp - 4], 0xfffffffe
call fcn.0045ed78
xor ecx, ecx
jmp 0x45ed50
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 1
je 0x45ed82
cmp eax, 4
je 0x45ed82
and esi, ecx
jmp 0x45ed84
sub esi, ecx
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 2
jl 0x45ed50
push 0xfa
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor ecx, ecx
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 1
je 0x45edbf
cmp eax, 4
je 0x45edbf
and esi, ecx
jmp 0x45edc1
sub esi, ecx
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 8
jl 0x45eda0
push 0xfa
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, 8
test esi, esi
jle 0x45edea
lea esi, [esi + esi*4]
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 0x45ee09
mov esi, 0xb
mov dword [ebp - 0x1c], esi
push 0xfa
lea eax, [ebp]
push eax
call ebx
sub edi, 1
jne 0x45ede0
xor ecx, ecx
jmp 0x45ee20
xor esi, ecx
mov dword [ebp - 0x1c], esi
jge 0x45ee2c
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 0x45ee53
xor esi, esi
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 7
jl 0x45ee20
test esi, esi
jle 0x45ee65
lea esi, [esi + esi*4]
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 0x45ee84
mov esi, 0xb
mov dword [ebp - 0x1c], esi
push 0xfa
lea eax, [ebp]
push eax
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, 1
je 0x45eeb0
cmp eax, 4
je 0x45eeb0
and esi, ecx
jmp 0x45eeb2
sub esi, ecx
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 8
jl 0x45ee91
push 0xfa
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, 5
test esi, esi
jle 0x45eedb
lea esi, [esi + esi*4]
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 0x45eefa
mov esi, 0xb
mov dword [ebp - 0x1c], esi
push 0xfa
lea eax, [ebp]
push eax
call ebx
sub edi, 1
jne 0x45eed1
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, 1
je 0x45ef2f
cmp eax, 4
je 0x45ef2f
and esi, ecx
jmp 0x45ef31
sub esi, ecx
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 6
jl 0x45ef10
push 0xfa
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 4], 5
xor ecx, ecx
mov dword [ebp - 0x20], ecx
cmp ecx, 4
jge 0x45efa0
mov eax, esi
cdq
sub eax, edx
sar eax, 1
and eax, 0x80000001
jns 0x45ef6f
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
je 0x45ef98
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 0x45ef9b
xor esi, esi
mov dword [ebp - 0x1c], esi
add ecx, 1
jmp 0x45ef54
mov dword [ebp - 4], 0xfffffffe
call fcn.0045f00a
mov dword [ebp - 4], 6
xor ecx, ecx
mov dword [ebp - 0x38], ecx
cmp ecx, 7
jge 0x45f014
mov eax, esi
cdq
sub eax, edx
sar eax, 1
and eax, 0x80000001
jns 0x45efd0
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
je 0x45eff9
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 0x45effc
xor esi, esi
mov dword [ebp - 0x1c], esi
add ecx, 1
jmp 0x45efb5
mov dword [ebp - 4], 0xfffffffe
call fcn.0045f04a
xor ecx, ecx
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 1
je 0x45f054
cmp eax, 4
je 0x45f054
and esi, ecx
jmp 0x45f056
sub esi, ecx
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 3
jl 0x45f022
push 0xfa
lea eax, [ebp]
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call edi
mov dword [ebp - 0x1c], esi
test esi, esi
jge 0x45f07e
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 0x45f0a5
xor esi, esi
mov dword [ebp - 0x1c], esi
xor ecx, ecx
jmp 0x45f0b0
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 1
je 0x45f0cf
cmp eax, 4
je 0x45f0cf
and esi, ecx
jmp 0x45f0d1
sub esi, ecx
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 2
jl 0x45f0b0
push 0xfa
lea eax, [ebp]
push eax
call edi
xor eax, eax
lea esp, [esp]
xor esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 3
jl 0x45f0f0
test esi, esi
jge 0x45f106
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
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
sub edx, ecx
jne 0x45f135
call edi
mov esi, eax
mov dword [ebp - 0x1c], esi
xor ecx, ecx
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, ecx
sub edx, eax
cmp edx, 1
jne 0x45f150
and esi, ecx
jmp 0x45f152
or esi, ecx
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 3
jl 0x45f137
xor esi, esi
mov dword [ebp - 0x1c], esi
push 0xfa
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x1c], esi
test esi, esi
jge 0x45f17d
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 0x45f1a6
call edi
mov esi, eax
mov dword [ebp - 0x1c], esi
xor ecx, ecx
jmp 0x45f1b0
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 1
je 0x45f1cf
cmp eax, 4
je 0x45f1cf
and esi, ecx
jmp 0x45f1d1
sub esi, ecx
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 3
jl 0x45f1b0
push 0xfa
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 4], 7
xor ecx, ecx
mov dword [ebp - 0x24], ecx
cmp ecx, 2
jge 0x45f240
mov eax, esi
cdq
sub eax, edx
sar eax, 1
and eax, 0x80000001
jns 0x45f20f
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
je 0x45f238
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 0x45f23b
xor esi, esi
mov dword [ebp - 0x1c], esi
add ecx, 1
jmp 0x45f1f4
mov dword [ebp - 4], 0xfffffffe
call fcn.0045f388
xor eax, eax
mov edi, edi
xor esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 2
jl 0x45f250
test esi, esi
jge 0x45f266
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 0x45f28f
call edi
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jge 0x45f298
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 0x45f2c1
call edi
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x1c], esi
test esi, esi
jle 0x45f2ce
lea esi, [esi + esi*2]
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
jne 0x45f2f2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jge 0x45f2fb
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 0x45f324
call edi
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 8
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
cmp ecx, 2
jge 0x45f392
mov eax, esi
cdq
sub eax, edx
sar eax, 1
and eax, 0x80000001
jns 0x45f348
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
je 0x45f371
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 0x45f374
xor esi, esi
mov dword [ebp - 0x1c], esi
add ecx, 1
jmp 0x45f32d
mov dword [ebp - 4], 0xfffffffe
call fcn.0045f535
xor esi, esi
mov dword [ebp - 0x1c], esi
push 0xfa
lea ecx, [ebp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
xor esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 4
jl 0x45f3b4
test esi, esi
jge 0x45f3ca
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 0x45f3f3
call edi
mov esi, eax
mov dword [ebp - 0x1c], esi
mov edi, 3
test esi, esi
jle 0x45f402
lea esi, [esi + esi*4]
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 0x45f421
mov esi, 0xb
mov dword [ebp - 0x1c], esi
push 0xfa
lea eax, [ebp]
push eax
call ebx
sub edi, 1
jne 0x45f3f8
test esi, esi
jle 0x45f43b
lea esi, [esi + esi*4]
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 0x45f45a
mov esi, 0xb
mov dword [ebp - 0x1c], esi
push 0xfa
lea eax, [ebp]
push eax
call ebx
mov dword [ebp - 0x1c], esi
test esi, esi
jge 0x45f471
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 0x45f49e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jle 0x45f4a8
lea esi, [esi + esi*4]
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 0x45f4c7
mov esi, 0xb
mov dword [ebp - 0x1c], esi
push 0xfa
lea edx, [ebp]
push edx
call ebx
mov dword [ebp - 4], 9
xor ecx, ecx
mov dword [ebp - 0x34], ecx
test ecx, ecx
jge 0x45f53f
mov eax, esi
cdq
sub eax, edx
sar eax, 1
and eax, 0x80000001
jns 0x45f4f5
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
je 0x45f51e
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 0x45f521
xor esi, esi
mov dword [ebp - 0x1c], esi
add ecx, 1
jmp 0x45f4db
mov dword [ebp - 4], 0xfffffffe
call fcn.0045f5c3
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x1c], esi
xor esi, esi
mov dword [ebp - 0x1c], esi
push 0xfa
lea ecx, [ebp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 4], 0xa
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
cmp ecx, 2
jge 0x45f5cd
mov eax, esi
cdq
sub eax, edx
sar eax, 1
and eax, 0x80000001
jns 0x45f589
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
je 0x45f5b2
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 0x45f5b5
xor esi, esi
mov dword [ebp - 0x1c], esi
add ecx, 1
jmp 0x45f56e
mov dword [ebp - 4], 0xfffffffe
call fcn.0045f72e
mov dword [ebp - 0x1c], esi
test esi, esi
jge 0x45f5e5
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 0x45f60c
xor esi, esi
mov dword [ebp - 0x1c], esi
xor eax, eax
mov edi, edi
or esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 2
jl 0x45f610
test esi, esi
jle 0x45f627
lea esi, [esi + esi*2]
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
jne 0x45f64b
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
mov dword [ebp - 0x1c], esi
mov edi, 4
test esi, esi
jle 0x45f65a
lea esi, [esi + esi*4]
mov dword [ebp - 0x1c], 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 0x45f679
mov esi, 0xb
mov dword [ebp - 0x1c], esi
push 0xfa
lea ecx, [ebp]
push ecx
call ebx
sub edi, 1
jne 0x45f650
xor eax, eax
jmp 0x45f690
or esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 3
jl 0x45f690
test esi, esi
jle 0x45f6a7