Function at 0x66b3cc
Capabilities:
Access the windows event log
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x2855
push 0
push 0
dec ecx
jne 0x66b3d5
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 4]
call fcn.0040b9a8
mov eax, dword [ebp - 8]
call fcn.0040b9a8
mov eax, dword [ebp + 8]
call fcn.0040b9a8
lea eax, [ebp - 0x68]
mov edx, dword [0x669d9c]
call fcn.0040d1e4
xor eax, eax
push ebp
push 0x66ce0d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd1], 0
xor eax, eax
mov dword [ebp - 0x70], eax
mov byte [ebp - 0xf6], 0
xor eax, eax
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 8]
call fcn.0040c928
mov eax, dword [0x8d2aac]
cmp byte [eax], 0
je 0x66bea9
mov eax, dword [ebp - 0x6c]
cmp byte [eax + 0x35], 0
jne 0x66bea9
xor eax, eax
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0xc], 0
je 0x66b50b
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x110], eax
mov edx, dword [0x8d1f08]
mov edx, dword [edx]
mov eax, dword [ebp - 0x110]
call fcn.0042f178
test eax, eax
sete byte [ebp - 0x111]
cmp byte [ebp - 0x111], 0
jne 0x66b50b
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0xc]
call fcn.0040c824
mov dword [ebp - 0x14208], eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x3c]
call fcn.0040c824
mov dword [ebp - 0x14204], eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x38]
call fcn.0040c824
mov dword [ebp - 0x141fc], eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x40]
call fcn.0040c824
mov dword [ebp - 0x14200], eax
xor eax, eax
mov dword [ebp - 0x141f8], eax
push 0
push 0
lea eax, [ebp - 0x14208]
push eax
push 1
call fcn.0066976c
mov dword [ebp - 0xd8], eax
push 1
push 0
push 0
call fcn.00669980
mov dword [ebp - 0xdc], eax
push 2
push 0
push 0
call fcn.00669980
mov dword [ebp - 0xe0], eax
xor eax, eax
push ebp
push 0x66bea2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x6c]
cmp byte [eax + 0x34], 0
je 0x66b550
mov dword [ebp - 0x104], 0x201
jmp 0x66b55a
mov dword [ebp - 0x104], 0x101
mov eax, dword [ebp - 0x104]
push eax
push 0x66ce20
mov eax, dword [ebp - 0x2c]
call fcn.0040c5ac
push eax
mov eax, dword [ebp - 0xd8]
push eax
call fcn.00669874
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
seta byte [ebp - 0xf5]
xor eax, eax
push ebp
push 0x66be67
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x66be23
mov eax, dword [ebp - 0xa8]
dec eax
test eax, eax
jl 0x66be1a
inc eax
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x41f4]
mov dword [ebp - 0x174], eax
xor eax, eax
push ebp
push 0x66be00
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x68]
mov edx, dword [0x669d9c]
call fcn.0040d5d0
mov edx, 0x38
call fcn.005fc908
xor esi, esi
xor eax, eax
mov dword [ebp - 0xec], eax
xor eax, eax
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0xec]
push eax
push 0
push esi
push 0
mov eax, dword [ebp - 0x174]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0xdc]
push eax
call fcn.00669a1c
mov esi, dword [ebp - 0xec]
mov eax, esi
call fcn.0040712c
mov dword [ebp - 0xf4], eax
xor eax, eax
push ebp
push 0x66ba15
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0xec]
push eax
mov eax, dword [ebp - 0xf4]
push eax
push esi
push 0
mov eax, dword [ebp - 0x174]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0xdc]
push eax
call fcn.00669a1c
test eax, eax
je 0x66b9fa
mov ebx, dword [ebp - 0xf4]
lea eax, [ebp - 0x58]
mov edx, dword [ebx]
call fcn.0040c884
mov byte [ebp - 0xf6], 1
add ebx, 0x20
movzx eax, word [ebx]
mov dword [ebp - 0x50], eax
add ebx, 0x20
movzx eax, byte [ebx]
cmp eax, 4
ja case.default.0x66b6a5
jmp dword [eax*4 + 0x66b6ac]
mov byte [ebp - 0x68], 3
jmp case.default.0x66b6a5
mov byte [ebp - 0x68], 4
jmp case.default.0x66b6a5
mov byte [ebp - 0x68], 0
jmp case.default.0x66b6a5
mov byte [ebp - 0x68], 1
jmp case.default.0x66b6a5
mov byte [ebp - 0x68], 2
add ebx, 0x40
mov eax, dword [ebx]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x6c]
movzx edx, byte [eax + 0x20]
lea eax, [ebp - 0x38]
call fcn.005fc998
fstp qword [ebp - 0x60]
wait
fld qword [ebp - 0x60]
fld qword [0x8eb878]
fucompp
wait
fnstsw ax
sahf
jbe 0x66b717
mov byte [ebp - 0xf6], 0
jmp 0x66b72f
fld qword [ebp - 0x60]
fld qword [0x8eb880]
fucompp
wait
fnstsw ax
sahf
jbe 0x66b72f
mov byte [ebp - 0xf6], 1
cmp byte [ebp - 0xf6], 1
jne 0x66b9fa
add ebx, 0x70
lea eax, [ebp - 0x44]
mov edx, dword [ebx]
call fcn.0040c884
add ebx, 0x10
lea edx, [ebp - 0xc]
mov eax, dword [ebx]
call fcn.005fb7e4
mov eax, dword [ebp - 0x6c]
cmp byte [eax + 0x18], 0
je 0x66b90e
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0xffffffff
je 0x66b7f7
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xbc]
call fcn.004b87b0
cmp dword [ebp - 0x1c], 0
je 0x66b90e
mov ecx, 1
mov edx, dword [ebp - 0x1c]
mov eax, 0x66ce30
call fcn.0040cdb0
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0xc0]
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x1c]
call fcn.0040cc5c
lea eax, [ebp - 0x4c]
push eax
mov edx, dword [ebp - 0xc0]
inc edx
mov ecx, 0xff
mov eax, dword [ebp - 0x1c]
call fcn.0040cc5c
jmp 0x66b90e
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x4174]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x2174]
push eax
mov eax, dword [ebp - 0x98]
push eax
mov eax, dword [ebp - 0x44]
call fcn.0040c824
push eax
call sub.advapi32.dll_LookupAccountSidW
test eax, eax
je 0x66b8d4
lea edx, [ebp - 0x1420c]
lea eax, [ebp - 0x2174]
call fcn.00431200
mov edx, dword [ebp - 0x1420c]
lea eax, [ebp - 0x4c]
call fcn.0040bcec
lea edx, [ebp - 0x14210]
lea eax, [ebp - 0x4174]
call fcn.00431200
mov edx, dword [ebp - 0x14210]
lea eax, [ebp - 0x48]
call fcn.0040bcec
lea eax, [ebp - 0x14214]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1422c], eax
mov byte [ebp - 0x14228], 0x11
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x14224], eax
mov byte [ebp - 0x14220], 0x11
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1421c], eax
mov byte [ebp - 0x14218], 0x11
lea edx, [ebp - 0x1422c]
mov ecx, 2
mov eax, 0x66ce40
call fcn.004313e8
mov edx, dword [ebp - 0x14214]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
jmp 0x66b90e
lea eax, [ebp - 0x14230]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14238], eax
mov byte [ebp - 0x14234], 0x11
lea edx, [ebp - 0x14238]
xor ecx, ecx
mov eax, 0x66ce60
call fcn.004313e8
mov edx, dword [ebp - 0x14230]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x58]
call fcn.0040c928
push 0
push 0
push 0
mov eax, dword [ebp - 0x30]
call fcn.0040c5ac
push eax
push 0
call fcn.00669aac
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
je 0x66b996
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x141f2]
push eax
push 0xfffe
push 1
push 0
push 0
push 0
mov eax, dword [ebp - 0x174]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0xe8]
push eax
call fcn.00669b54
test eax, eax
je 0x66b996
lea eax, [ebp - 0x1423c]
lea edx, [ebp - 0x141f2]
mov ecx, 0x7fff
call fcn.0040c570
mov edx, dword [ebp - 0x1423c]
lea eax, [ebp - 0x40]
call fcn.0040c914
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x141f2]
push eax
push 0xfffe
push 3
push 0
push 0
push 0
mov eax, dword [ebp - 0x174]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0xe8]
push eax
call fcn.00669b54
test eax, eax
je 0x66b9ee
lea eax, [ebp - 0x14240]
lea edx, [ebp - 0x141f2]
mov ecx, 0x7fff
call fcn.0040c570
mov edx, dword [ebp - 0x14240]
lea eax, [ebp - 0x54]
call fcn.0040c914
mov eax, dword [ebp - 0xe8]
push eax
call fcn.006697fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66ba1c
mov eax, dword [ebp - 0xf4]
call fcn.0040717c
pop eax
jmp eax
cmp byte [ebp - 0xd1], 0
jne 0x66be4b
lea eax, [ebp - 0xa8]
push eax
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x41f4]
push eax
push 0x20
mov eax, dword [ebp - 0xe4]
push eax
call fcn.006698f8
test eax, eax
jne 0x66b5a2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66be6e
mov eax, dword [ebp - 0xe4]
push eax
call fcn.006697fc
pop eax
jmp eax
cmp byte [ebp - 0xf5], 0
jne 0x66cd92
xor eax, eax
mov dword [ebp - 0x80], eax
xor eax, eax
mov dword [ebp - 0x84], eax
xor eax, eax
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x48]
mov byte [ebp - 0xd1], 0
mov dword [ebp - 0xa4], 0x10000
mov eax, dword [ebp - 0x6c]
cmp byte [eax + 0x34], 0
je 0x66befc
mov dword [ebp - 0x9c], 9
jmp 0x66bf06
mov dword [ebp - 0x9c], 5
mov eax, dword [ebp - 0x6c]
call fcn.0066acd4
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.0043057c
test al, al
je 0x66bf31
mov eax, dword [ebp - 8]
call fcn.0040c824
push eax
push 0
call sub.advapi32.dll_OpenBackupEventLogW
mov dword [ebp - 0x74], eax
jmp 0x66bf4b
mov eax, dword [ebp - 8]
call fcn.0040c824
push eax
mov eax, dword [ebp - 4]
call fcn.0040c824
push eax
call sub.advapi32.dll_OpenEventLogW
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x66bf5e
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x70], eax
jmp 0x66cd92
mov dl, 1
mov eax, dword [0x48d820]
call fcn.004b9700
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov word [eax + 0x18], 0x3b
mov dl, 1
mov eax, dword [ebp - 0xc8]
call fcn.004b6e4c
mov dl, 1
mov eax, dword [0x48d820]
call fcn.004b9700
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov word [eax + 0x18], 0xd
mov dl, 1
mov eax, dword [ebp - 0xcc]
call fcn.004b6e4c
lea eax, [ebp - 0x10]
call fcn.0040b8b4
lea eax, [ebp - 0x14]
call fcn.0040b8b4
lea eax, [ebp - 0x18]
call fcn.0040b8b4
xor eax, eax
push ebp
push 0x66cd8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x6c]
cmp byte [eax + 0x44], 0
je 0x66c18c
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x14], 0
je 0x66c18c
lea eax, [ebp - 0xd0]
push eax
push 0x20019
push 0
push 0x66ce9c
push dword [ebp - 8]
push 0x66ce30
push dword [ebp - 8]
lea eax, [ebp - 0x14248]
mov edx, 4
call fcn.0040cb14
mov eax, dword [ebp - 0x14248]
call fcn.0040c824
push eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x14]
push eax
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x66c18c
mov word [ebp - 0x2174], 0
mov dword [ebp - 0xa8], 0x2000
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x2174]
push eax
push 0
push 0
push 0x66cef4
mov eax, dword [ebp - 0xd0]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x66c0a4
lea eax, [ebp - 0x1424c]
lea edx, [ebp - 0x2174]
mov ecx, 0x1000
call fcn.0040c8d8
mov eax, dword [ebp - 0x1424c]
lea ecx, [ebp - 0x28]
mov dl, 1
call fcn.00604bb8
jmp 0x66c0ac
lea eax, [ebp - 0x28]
call fcn.0040b8b4
mov word [ebp - 0x2174], 0
mov dword [ebp - 0xa8], 0x2000
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x2174]
push eax
push 0
push 0
push 0x66cf18
mov eax, dword [ebp - 0xd0]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x66c10e
lea eax, [ebp - 0x14250]
lea edx, [ebp - 0x2174]
mov ecx, 0x1000
call fcn.0040c8d8
mov eax, dword [ebp - 0x14250]
lea ecx, [ebp - 0x24]
mov dl, 1
call fcn.00604bb8
jmp 0x66c116
lea eax, [ebp - 0x24]
call fcn.0040b8b4
mov word [ebp - 0x2174], 0
mov dword [ebp - 0xa8], 0x2000
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x2174]
push eax
push 0
push 0
push 0x66cf40
mov eax, dword [ebp - 0xd0]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x66c178
lea eax, [ebp - 0x14254]
lea edx, [ebp - 0x2174]
mov ecx, 0x1000
call fcn.0040c8d8
mov eax, dword [ebp - 0x14254]
lea ecx, [ebp - 0x20]
mov dl, 1
call fcn.00604bb8
jmp 0x66c180
lea eax, [ebp - 0x20]
call fcn.0040b8b4
mov eax, dword [ebp - 0xd0]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, dword [ebp - 0xa4]
call fcn.00407160
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0xc1], 0
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0x7c]
push eax
push 0
mov eax, dword [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0x74]
push eax
call sub.advapi32.dll_ReadEventLogW
test eax, eax
jne 0x66c23b
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0x7a
jne 0x66c22a
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 0x84]
call fcn.00407194
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0x74]
push eax
call sub.advapi32.dll_ReadEventLogW
jmp 0x66c23b
cmp dword [ebp - 0xb0], 0x5dc
setne byte [ebp - 0xc1]
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jbe 0x66cd33
lea eax, [ebp - 0x68]
mov edx, dword [0x669d9c]
call fcn.0040d5d0
mov edx, 0x38
call fcn.005fc908
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x78]
add edx, 0x38
call fcn.0040c884
cmp dword [ebp + 8], 0
je 0x66c2c8
push 0
lea eax, [ebp - 0x14258]
mov ecx, 0x66cf78
mov edx, dword [ebp + 8]
call fcn.0040ca8c
mov eax, dword [ebp - 0x14258]
push eax
lea eax, [ebp - 0x1425c]
mov ecx, 0x66cf78
mov edx, dword [ebp - 0x58]
call fcn.0040ca8c
mov eax, dword [ebp - 0x1425c]
xor ecx, ecx
pop edx
call fcn.005fcda0
test eax, eax
jle 0x66cd10
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0
je 0x66c2f5
mov eax, dword [ebp - 0x158]
mov eax, dword [eax - 4]
mov dword [ebp - 0x158], eax
mov ebx, dword [ebp - 0x158]
inc ebx
add ebx, ebx
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x78]
add edx, 0x38
add edx, ebx
call fcn.0040c884
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x78]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x88], 0x1000
mov dword [ebp - 0x8c], 0x1000
lea eax, [ebp - 0x4c]
call fcn.0040b8b4
lea eax, [ebp - 0x48]
call fcn.0040b8b4
mov eax, dword [ebp - 0x98]
push eax
call sub.advapi32.dll_IsValidSid
test eax, eax
je 0x66c526
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x98]
call fcn.005fb7e4
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0xc]
call fcn.0040bcec
mov eax, dword [ebp - 0x6c]
cmp byte [eax + 0x18], 0
je 0x66c526
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0xffffffff
je 0x66c40f
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xbc]
call fcn.004b87b0
cmp dword [ebp - 0x1c], 0
je 0x66c526
mov ecx, 1
mov edx, dword [ebp - 0x1c]
mov eax, 0x66ce30
call fcn.0040cdb0
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0xc0]
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x1c]
call fcn.0040cc5c
lea eax, [ebp - 0x4c]
push eax
mov edx, dword [ebp - 0xc0]
inc edx
mov ecx, 0xff
mov eax, dword [ebp - 0x1c]
call fcn.0040cc5c
jmp 0x66c526
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x4174]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x2174]
push eax
mov eax, dword [ebp - 0x98]
push eax
mov eax, dword [ebp - 0x44]
call fcn.0040c824
push eax
call sub.advapi32.dll_LookupAccountSidW
test eax, eax
je 0x66c4ec
lea edx, [ebp - 0x14260]
lea eax, [ebp - 0x2174]
call fcn.00431200
mov edx, dword [ebp - 0x14260]
lea eax, [ebp - 0x4c]
call fcn.0040bcec
lea edx, [ebp - 0x14264]
lea eax, [ebp - 0x4174]
call fcn.00431200
mov edx, dword [ebp - 0x14264]
lea eax, [ebp - 0x48]
call fcn.0040bcec
lea eax, [ebp - 0x14268]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1422c], eax
mov byte [ebp - 0x14228], 0x11
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x14224], eax
mov byte [ebp - 0x14220], 0x11
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1421c], eax
mov byte [ebp - 0x14218], 0x11
lea edx, [ebp - 0x1422c]
mov ecx, 2
mov eax, 0x66ce40
call fcn.004313e8
mov edx, dword [ebp - 0x14268]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
jmp 0x66c526
lea eax, [ebp - 0x1426c]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14238], eax
mov byte [ebp - 0x14234], 0x11
lea edx, [ebp - 0x14238]
xor ecx, ecx
mov eax, 0x66ce60
call fcn.004313e8
mov edx, dword [ebp - 0x1426c]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
xor eax, eax
mov dword [ebp - 0xac], eax
xor ebx, ebx
jmp 0x66c59f
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x78]
mov edx, dword [edx + 0x24]
add edx, dword [ebp - 0x78]
add edx, ebx
call fcn.0040c884
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x1c]
call fcn.0040ca34
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 0
je 0x66c57d
mov eax, dword [ebp - 0x164]
mov eax, dword [eax - 4]
mov dword [ebp - 0x164], eax
mov ebx, dword [ebp - 0x164]
mov eax, ebx
add eax, eax
add eax, 2
mov ebx, eax
lea eax, [ebp - 0x3c]
mov edx, 0x66ce8c
call fcn.0040ca34
inc dword [ebp - 0xac]
mov eax, dword [ebp - 0x78]
movzx eax, word [eax + 0x1a]
cmp eax, dword [ebp - 0xac]
jg 0x66c532
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0
je 0x66c5db
mov eax, dword [ebp - 0x16c]
mov eax, dword [eax - 4]
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp - 0x16c]
dec edx
lea eax, [ebp - 0x3c]
call fcn.0040c9b0
mov eax, dword [ebp - 0x78]
movzx eax, word [eax + 0x14]
and ax, 0xffff
movzx eax, ax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x78]
movzx eax, word [eax + 0x18]
cmp eax, 0x10
ja case.0x66c60e.0
movzx eax, byte [eax + 0x66c615]
jmp dword [eax*4 + 0x66c626]
mov byte [ebp - 0x68], 0
jmp 0x66c660
mov byte [ebp - 0x68], 1
jmp 0x66c660
mov byte [ebp - 0x68], 2
jmp 0x66c660
mov byte [ebp - 0x68], 3
jmp 0x66c660
mov byte [ebp - 0x68], 4
jmp 0x66c660
mov byte [ebp - 0x68], 2
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax + 0x20]
xor al, 1
call fcn.004ea3f4
fstp qword [ebp - 0x60]
wait
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
lea eax, [ebp - 0x14238]
call fcn.005fca10
mov eax, dword [ebp - 0x14238]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14234]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x6c]
cmp byte [eax + 0x44], 0
je 0x66cc7f
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x14], 0
jne 0x66c706
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0xc], 0
jne 0x66c6d3
mov eax, dword [ebp - 0x6c]
add eax, 0x14
push eax
push 0x80000002
push 0
call sub.advapi32.dll_RegConnectRegistryW
jmp 0x66c706
mov eax, dword [ebp - 0x6c]
add eax, 0x14
push eax
push 0x80000002
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 0x14270]
mov edx, 0x66cf88
call fcn.0040ca8c
mov eax, dword [ebp - 0x14270]
call fcn.0040c824
push eax
call sub.advapi32.dll_RegConnectRegistryW
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x28]
call fcn.0040bcec
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x24]
call fcn.0040bcec
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x20]
call fcn.0040bcec
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x14], 0
je 0x66c941
lea eax, [ebp - 0xd0]
push eax
push 0x20019
push 0
push 0x66ce9c
push dword [ebp - 8]
push 0x66ce30
push dword [ebp - 0x58]
lea eax, [ebp - 0x14274]
mov edx, 4
call fcn.0040cb14
mov eax, dword [ebp - 0x14274]
call fcn.0040c824
push eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x14]
push eax
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x66c941
mov word [ebp - 0x2174], 0
mov dword [ebp - 0xa8], 0x2000
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x2174]
push eax
push 0
push 0
push 0x66cef4
mov eax, dword [ebp - 0xd0]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x66c813
lea eax, [ebp - 0x14278]
lea edx, [ebp - 0x2174]
mov ecx, 0x1000
call fcn.0040c8d8
mov eax, dword [ebp - 0x14278]
lea ecx, [ebp - 0x1c]
mov dl, 1
call fcn.00604bb8
cmp dword [ebp - 0x1c], 0
je 0x66c813
cmp dword [ebp - 0x10], 0
je 0x66c808
push dword [ebp - 0x10]
push 0x66cf9c
push dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040cb14
jmp 0x66c813
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.0040bcec
mov word [ebp - 0x2174], 0
mov dword [ebp - 0xa8], 0x2000
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x2174]
push eax
push 0
push 0
push 0x66cf18
mov eax, dword [ebp - 0xd0]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x66c8a4
lea eax, [ebp - 0x1427c]
lea edx, [ebp - 0x2174]
mov ecx, 0x1000
call fcn.0040c8d8
mov eax, dword [ebp - 0x1427c]
lea ecx, [ebp - 0x1c]
mov dl, 1
call fcn.00604bb8
cmp dword [ebp - 0x1c], 0
je 0x66c8a4
cmp dword [ebp - 0x14], 0
je 0x66c899
push dword [ebp - 0x14]
push 0x66cf9c
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040cb14
jmp 0x66c8a4
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
call fcn.0040bcec
mov word [ebp - 0x2174], 0
mov dword [ebp - 0xa8], 0x2000
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x2174]
push eax
push 0
push 0
push 0x66cf40
mov eax, dword [ebp - 0xd0]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x66c935
lea eax, [ebp - 0x14280]
lea edx, [ebp - 0x2174]
mov ecx, 0x1000
call fcn.0040c8d8
mov eax, dword [ebp - 0x14280]
lea ecx, [ebp - 0x1c]
mov dl, 1
call fcn.00604bb8
cmp dword [ebp - 0x1c], 0
je 0x66c935
cmp dword [ebp - 0x18], 0
je 0x66c92a
push dword [ebp - 0x18]
push 0x66cf9c
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040cb14
jmp 0x66c935
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
call fcn.0040bcec
mov eax, dword [ebp - 0xd0]
push eax
call sub.advapi32.dll_RegCloseKey
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xcc]
call fcn.004b85e8
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc8]
call fcn.004b85e8
mov eax, dword [ebp - 0xc8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x66cac6
inc eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xcc]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x66cab4
inc eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0xb8], 0
lea ecx, [ebp - 0x14284]
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xcc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov esi, dword [ebp - 0x14284]
mov ecx, 1
mov edx, esi
mov eax, 0x66cfac
call fcn.0040cdb0
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 1
jne 0x66caa2
xor eax, eax
push ebp
push 0x66ca7e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14288]
push eax
lea eax, [ebp - 0x1428c]
push eax
lea ecx, [ebp - 0x14290]
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xcc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x14290]
mov ecx, 0x7fffffff
mov edx, 3
call fcn.0040cc5c
mov eax, dword [ebp - 0x1428c]
or edx, 0xffffffff
call fcn.0042fff0
push eax
lea ecx, [ebp - 0x14294]
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xc8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x14294]
xor ecx, ecx
pop edx
call fcn.0066a75c
mov eax, dword [ebp - 0x14288]
lea ecx, [ebp - 0x1c]
xor edx, edx
call fcn.0066a934
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x66ca88
cmp dword [ebp - 0x1c], 0
je 0x66caa2
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xcc]
mov ebx, dword [eax]
call dword [ebx + 0x20]
inc dword [ebp - 0xb8]
dec dword [ebp - 0x10c]
jne 0x66c9a7
inc dword [ebp - 0xb4]
dec dword [ebp - 0x108]
jne 0x66c982
lea edx, [ebp - 0x14298]
mov eax, dword [ebp - 0xcc]
call fcn.004b7618
mov edx, dword [ebp - 0x14298]
lea eax, [ebp - 0x3c]
call fcn.0040bcec
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc8]
call fcn.004b85e8
mov eax, dword [ebp - 0xc8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x66cb9e
inc eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0xb4], 0
xor eax, eax
push ebp
push 0x66cb71
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1429c]
push eax
lea ecx, [ebp - 0x142a0]
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xc8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x142a0]
mov edx, dword [ebp - 0x78]
movzx edx, word [edx + 0x1c]
mov ecx, dword [ebp - 0x3c]
call fcn.0066a75c
mov eax, dword [ebp - 0x1429c]
lea edx, [ebp - 0x1c]
call fcn.0042f3b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x66cb7b
cmp dword [ebp - 0x1c], 0
je 0x66cb8c
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0x1c]
call fcn.0040bcec
inc dword [ebp - 0xb4]
dec dword [ebp - 0x108]
jne 0x66cb18
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc8]
call fcn.004b85e8
mov eax, dword [ebp - 0xc8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x66cc59
inc eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0xb4], 0
xor eax, eax
push ebp
push 0x66cc2c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x142a4]
push eax
lea ecx, [ebp - 0x142a8]
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xc8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x142a8]
mov edx, dword [ebp - 0x78]
mov edx, dword [edx + 0x14]
mov ecx, dword [ebp - 0x3c]
call fcn.0066a75c
mov eax, dword [ebp - 0x142a4]
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x3c]
call fcn.0066a934
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x66cc36
cmp dword [ebp - 0x1c], 0
je 0x66cc47
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x1c]
call fcn.0040bcec
inc dword [ebp - 0xb4]
dec dword [ebp - 0x108]
jne 0x66cbd1
cmp dword [ebp - 0x54], 0
jne 0x66cc7f
lea edx, [ebp - 0x142ac]
mov eax, dword [ebp - 0x78]
movzx eax, word [eax + 0x1c]
call fcn.0042fd94
mov edx, dword [ebp - 0x142ac]
lea eax, [ebp - 0x54]
call fcn.0040bcec
cmp dword [ebp - 0x40], 0
jne 0x66cca1
lea edx, [ebp - 0x142b0]
mov eax, dword [ebp - 0x3c]
call fcn.0042f3b4
mov edx, dword [ebp - 0x142b0]
lea eax, [ebp - 0x40]
call fcn.0040bcec
fld qword [ebp - 0x60]
fld qword [0x8eb878]
fucompp
wait
fnstsw ax
sahf
jbe 0x66ccbb
mov byte [ebp - 0xf7], 0
jmp 0x66ccd3
fld qword [ebp - 0x60]
fld qword [0x8eb880]
fucompp
wait
fnstsw ax
sahf
jbe 0x66ccd3
mov byte [ebp - 0xf7], 1
cmp byte [ebp - 0xf7], 1
jne 0x66cd07
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x6c]
call fcn.0066abe8
mov eax, dword [ebp - 0x6c]
cmp word [eax + 0x2a], 0
je 0x66cd07
lea eax, [ebp - 0xd1]
push eax
lea ecx, [ebp - 0x68]
mov ebx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x2c]
call dword [ebx + 0x28]
cmp byte [ebp - 0xd1], 0
jne 0x66cd33
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
sub dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
add eax, dword [ebp - 0x78]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x90], 0
ja 0x66c257
cmp byte [ebp - 0xd1], 0
jne 0x66cd49
cmp byte [ebp - 0xc1], 0
je 0x66c1a1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66cd92
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0x7c]
call fcn.0040717c
mov eax, dword [ebp - 0x74]
push eax
call sub.advapi32.dll_CloseEventLog
mov eax, dword [ebp - 0xc8]
call fcn.004099cc
mov eax, dword [ebp - 0xcc]
call fcn.004099cc
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66ce14
lea eax, [ebp - 0x142b0]
mov edx, 0x1c
call fcn.0040b914
lea eax, [ebp - 0x14240]
mov edx, 2
call fcn.0040b984
lea eax, [ebp - 0x14230]
call fcn.0040b8b4
lea eax, [ebp - 0x14214]
mov edx, 3
call fcn.0040b914
lea eax, [ebp - 0x68]
mov edx, dword [0x669d9c]
call fcn.0040d5d0
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0040b984
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.0040b914
lea eax, [ebp + 8]
call fcn.0040b8b4
pop eax
jmp eax