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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x418
push 0
push 0
dec ecx
jne 0x53adf5
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
call fcn.004052cc
mov eax, dword [ebp - 8]
call fcn.004052cc
mov eax, dword [ebp + 8]
call fcn.004052cc
xor eax, eax
push ebp
push 0x53b750
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x60], 0x38
mov dword [ebp - 0x50], 0xa
mov eax, dword [ebp - 0x20]
lea edx, [eax + 8]
mov eax, dword [ebp - 0x20]
call fcn.0053aaac
mov eax, dword [ebp - 8]
call fcn.004052dc
push eax
mov eax, dword [ebp - 4]
call fcn.004052dc
push eax
call fcn.00407614
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x53b70d
mov dl, 1
mov eax, dword [0x41adf8]
call fcn.00403ec0
mov dword [ebp - 0x70], eax
mov dl, 0x3b
mov eax, dword [ebp - 0x70]
call fcn.0041fa94
mov dl, 1
mov eax, dword [ebp - 0x70]
call fcn.0041faf8
xor edx, edx
push ebp
push 0x53b706
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x24]
push eax
call fcn.004075ac
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x24]
push eax
call fcn.004075b4
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x60]
call fcn.00402f28
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x69], 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x24]
push eax
call fcn.0040762c
test eax, eax
jne 0x53af3c
call fcn.0040780c
cmp eax, 0x7a
jne 0x53af38
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
call fcn.00402f5c
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x24]
push eax
call fcn.0040762c
jmp 0x53af3c
mov byte [ebp - 0x69], 1
mov dword [ebp - 0x50], 9
xor eax, eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x30], 0
jbe 0x53b6d3
mov edx, dword [0x53a364]
mov eax, 0x38
call fcn.0040601c
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add eax, 0x10
mov edx, dword [ebp - 0x28]
add edx, 0x38
call fcn.00405028
cmp dword [ebp + 8], 0
je 0x53afc6
mov eax, dword [ebp - 0x48]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x207c]
mov ecx, 0x53b768
call fcn.00405164
mov eax, dword [ebp - 0x207c]
push eax
lea eax, [ebp - 0x2080]
mov ecx, 0x53b768
mov edx, dword [ebp + 8]
call fcn.00405164
mov edx, dword [ebp - 0x2080]
pop eax
call fcn.004a7c80
test eax, eax
jle 0x53b6b6
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x10]
call fcn.0040510c
mov esi, eax
inc esi
mov eax, dword [ebp - 0x48]
add eax, 0x24
mov edx, dword [ebp - 0x28]
add edx, 0x38
add edx, esi
call fcn.00405028
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], 0x1000
mov dword [ebp - 0x3c], 0x1000
mov eax, dword [ebp - 0x48]
add eax, 0x1c
call fcn.00404e30
mov eax, dword [ebp - 0x48]
add eax, 0x20
call fcn.00404e30
mov eax, dword [ebp - 0x44]
push eax
call fcn.004075e4
test eax, eax
je 0x53b0c9
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x1c], 0
je 0x53b0aa
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2078]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x1078]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x24]
call fcn.004052dc
push eax
call fcn.004075f4
test eax, eax
je 0x53b0aa
lea edx, [ebp - 0x2084]
lea eax, [ebp - 0x1078]
call fcn.0040b4bc
mov edx, dword [ebp - 0x2084]
mov eax, dword [ebp - 0x48]
add eax, 0x1c
call fcn.00404e84
lea edx, [ebp - 0x2088]
lea eax, [ebp - 0x2078]
call fcn.0040b4bc
mov edx, dword [ebp - 0x2088]
mov eax, dword [ebp - 0x48]
add eax, 0x20
call fcn.00404e84
jmp 0x53b0c9
lea edx, [ebp - 0x208c]
mov eax, dword [ebp - 0x44]
call fcn.004aefec
mov edx, dword [ebp - 0x208c]
mov eax, dword [ebp - 0x48]
add eax, 0x1c
call fcn.00404e84
mov eax, dword [ebp - 0x48]
add eax, 0x2c
call fcn.00404e30
mov eax, dword [ebp - 0x48]
add eax, 0x30
call fcn.00404e30
xor ebx, ebx
jmp 0x53b182
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x34]
add eax, dword [ebp - 0x28]
add eax, ebx
movzx eax, byte [eax]
mov byte [ebp - 0x49], al
lea eax, [ebp - 0xc]
push eax
movzx eax, byte [ebp - 0x49]
mov dword [ebp - 0x2094], eax
mov byte [ebp - 0x2090], 0
lea edx, [ebp - 0x2094]
xor ecx, ecx
mov eax, 0x53b774
call fcn.0040b9ac
mov eax, dword [ebp - 0x48]
push dword [eax + 0x2c]
push dword [ebp - 0xc]
push 0x53b768
mov eax, dword [ebp - 0x48]
add eax, 0x2c
mov edx, 3
call fcn.004051e0
movzx eax, byte [ebp - 0x49]
sub al, 0x20
jb 0x53b156
sub al, 0xc
je 0x53b156
lea eax, [ebp - 0xc]
movzx edx, byte [ebp - 0x49]
call fcn.00405018
jmp 0x53b163
lea eax, [ebp - 0xc]
mov edx, 0x53b784
call fcn.00404ec8
mov eax, dword [ebp - 0x48]
push dword [eax + 0x30]
push dword [ebp - 0xc]
push 0x53b768
mov eax, dword [ebp - 0x48]
add eax, 0x30
mov edx, 3
call fcn.004051e0
inc ebx
mov eax, dword [ebp - 0x28]
cmp ebx, dword [eax + 0x30]
jb 0x53b0e6
mov eax, dword [ebp - 0x48]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x2c]
call fcn.0040510c
mov ecx, eax
dec ecx
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x2c]
mov edx, 1
call fcn.00405344
mov eax, dword [ebp - 0x48]
add eax, 0x30
push eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x30]
call fcn.0040510c
mov ecx, eax
dec ecx
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x30]
mov edx, 1
call fcn.00405344
xor ebx, ebx
xor esi, esi
lea eax, [ebp - 0x10]
call fcn.00404e30
jmp 0x53b21d
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 0x24]
add edx, dword [ebp - 0x28]
add edx, esi
call fcn.00405028
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00405118
mov eax, dword [ebp - 0x10]
call fcn.0040510c
mov esi, eax
inc esi
lea eax, [ebp - 0x10]
mov edx, 0x53b790
call fcn.00405118
inc ebx
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + 0x1a]
cmp ebx, eax
jb 0x53b1e6
mov eax, dword [ebp - 0x10]
call fcn.0040510c
mov edx, eax
dec edx
lea eax, [ebp - 0x10]
call fcn.0040556c
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + 0x14]
and ax, 0xffff
movzx eax, ax
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + 0x18]
cmp eax, 0x10
ja case.0x53b262.0
movzx eax, byte [eax + 0x53b269]
jmp dword [eax*4 + 0x53b27a]
mov eax, dword [ebp - 0x48]
mov byte [eax], 0
jmp 0x53b2c0
mov eax, dword [ebp - 0x48]
mov byte [eax], 1
jmp 0x53b2c0
mov eax, dword [ebp - 0x48]
mov byte [eax], 2
jmp 0x53b2c0
mov eax, dword [ebp - 0x48]
mov byte [eax], 3
jmp 0x53b2c0
mov eax, dword [ebp - 0x48]
mov byte [eax], 4
jmp 0x53b2c0
mov eax, dword [ebp - 0x48]
mov byte [eax], 2
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xc]
sub eax, 0xe10
call fcn.004a9a40
mov eax, dword [ebp - 0x48]
fstp qword [eax + 8]
wait
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x24], 0
je 0x53b2f5
mov eax, dword [ebp - 0x48]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.004a86e0
mov eax, dword [ebp - 0x48]
fstp qword [eax + 8]
wait
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x14], 0
je 0x53b622
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x18], 0
jne 0x53b35c
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0xc], 0
jne 0x53b329
mov eax, dword [ebp - 0x20]
add eax, 0x18
push eax
push 0x80000002
push 0
call fcn.0040763c
jmp 0x53b35c
mov eax, dword [ebp - 0x20]
add eax, 0x18
push eax
push 0x80000002
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 0x2098]
mov edx, 0x53b79c
call fcn.00405164
mov eax, dword [ebp - 0x2098]
call fcn.004052dc
push eax
call fcn.0040763c
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x18], 0
je 0x53b4e0
lea eax, [ebp - 0x74]
push eax
push 0x20019
push 0
push 0x53b7a8
mov eax, dword [ebp - 0x20]
push dword [eax + 0x10]
push 0x53b7dc
mov eax, dword [ebp - 0x48]
push dword [eax + 0x10]
lea eax, [ebp - 0x209c]
mov edx, 4
call fcn.004051e0
mov eax, dword [ebp - 0x209c]
call fcn.004052dc
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x18]
push eax
call fcn.0040766c
test eax, eax
jne 0x53b4e0
mov byte [ebp - 0x1078], 0
mov dword [ebp - 0x64], 0x1000
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x1078]
push eax
push 0
push 0
push 0x53b7e0
mov eax, dword [ebp - 0x74]
push eax
call fcn.0040767c
test eax, eax
jne 0x53b411
lea eax, [ebp - 0x20a0]
lea edx, [ebp - 0x1078]
mov ecx, 0x1000
call fcn.004050a0
mov eax, dword [ebp - 0x20a0]
lea ecx, [ebp - 0x14]
mov dl, 1
call fcn.004ae114
jmp 0x53b419
lea eax, [ebp - 0x14]
call fcn.00404e30
mov byte [ebp - 0x1078], 0
mov dword [ebp - 0x64], 0x1000
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x1078]
push eax
push 0
push 0
push 0x53b7f4
mov eax, dword [ebp - 0x74]
push eax
call fcn.0040767c
test eax, eax
jne 0x53b470
lea eax, [ebp - 0x20a4]
lea edx, [ebp - 0x1078]
mov ecx, 0x1000
call fcn.004050a0
mov eax, dword [ebp - 0x20a4]
lea ecx, [ebp - 0x18]
mov dl, 1
call fcn.004ae114
jmp 0x53b478
lea eax, [ebp - 0x18]
call fcn.00404e30
mov byte [ebp - 0x1078], 0
mov dword [ebp - 0x64], 0x1000
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x1078]
push eax
push 0
push 0
push 0x53b808
mov eax, dword [ebp - 0x74]
push eax
call fcn.0040767c
test eax, eax
jne 0x53b4cf
lea eax, [ebp - 0x20a8]
lea edx, [ebp - 0x1078]
mov ecx, 0x1000
call fcn.004050a0
mov eax, dword [ebp - 0x20a8]
lea ecx, [ebp - 0x1c]
mov dl, 1
call fcn.004ae114
jmp 0x53b4d7
lea eax, [ebp - 0x1c]
call fcn.00404e30
mov eax, dword [ebp - 0x74]
push eax
call fcn.00407634
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x70]
call fcn.0041f87c
mov eax, dword [ebp - 0x70]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x53b580
inc eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x68], 0
xor eax, eax
push ebp
push 0x53b55a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20ac]
push eax
lea ecx, [ebp - 0x20b0]
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x70]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x20b0]
mov edx, dword [ebp - 0x28]
movzx edx, word [edx + 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.0053a544
mov eax, dword [ebp - 0x20ac]
lea edx, [ebp - 0xc]
call fcn.00409ec8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53b564
cmp dword [ebp - 0xc], 0
je 0x53b578
mov eax, dword [ebp - 0x48]
add eax, 0x14
mov edx, dword [ebp - 0xc]
call fcn.00404e84
inc dword [ebp - 0x68]
dec dword [ebp - 0x78]
jne 0x53b507
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x70]
call fcn.0041f87c
mov eax, dword [ebp - 0x70]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x53b622
inc eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x68], 0
xor eax, eax
push ebp
push 0x53b5fc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20b4]
push eax
lea ecx, [ebp - 0x20b8]
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x70]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x20b8]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 0x14]
mov ecx, dword [ebp - 0x10]
call fcn.0053a544
mov eax, dword [ebp - 0x20b4]
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.0053a6bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53b606
cmp dword [ebp - 0xc], 0
je 0x53b61a
mov eax, dword [ebp - 0x48]
add eax, 0x28
mov edx, dword [ebp - 0xc]
call fcn.00404e84
inc dword [ebp - 0x68]
dec dword [ebp - 0x78]
jne 0x53b5a7
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x14], 0
jne 0x53b64e
lea edx, [ebp - 0x20bc]
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + 0x1c]
call fcn.0040a434
mov edx, dword [ebp - 0x20bc]
mov eax, dword [ebp - 0x48]
add eax, 0x14
call fcn.00404e84
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x28], 0
jne 0x53b676
lea edx, [ebp - 0x20c0]
mov eax, dword [ebp - 0x10]
call fcn.00409ec8
mov edx, dword [ebp - 0x20c0]
mov eax, dword [ebp - 0x48]
add eax, 0x28
call fcn.00404e84
lea eax, [ebp - 0x20c4]
push eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x2094], eax
mov byte [ebp - 0x2090], 0
lea edx, [ebp - 0x2094]
xor ecx, ecx
mov eax, 0x53b828
call fcn.0040b9ac
mov edx, dword [ebp - 0x20c4]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x48]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
sub dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x30], 0
ja 0x53af58
cmp byte [ebp - 0x69], 0
je 0x53aed5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b70d
lea eax, [ebp - 0x2c]
xor edx, edx
call fcn.00402f5c
mov eax, dword [ebp - 0x24]
push eax
call fcn.00407594
mov eax, dword [ebp - 0x70]
call fcn.00403ef0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b757
lea eax, [ebp - 0x20c4]
mov edx, 0xc
call fcn.00404e54
lea eax, [ebp - 0x208c]
mov edx, 5
call fcn.00404e54
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00404e54
lea eax, [ebp + 8]
call fcn.00404e30
ret