Function at 0x5505c0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c2568
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b4
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
push eax
xor edi, edi
mov dword [esi + 0x400], eax
lea eax, [ebp - 0xb8]
push 0x65531c
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], edi
call fcn.0057f2ea
add esp, 0xc
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0xb8]
push ecx
push edx
push edi
push 0xf003f
push edi
push 0x679a28
push edi
push eax
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov eax, dword [ebp - 0x18]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push edi
push edi
push 0x6554a4
push eax
mov dword [ebp - 0x14], 4
call ebx
test eax, eax
je 0x550662
mov dword [esi + 0x44], 1
jmp 0x550668
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edx
push eax
push edi
push edi
push 0x6568a8
push ecx
call ebx
test eax, eax
je 0x550689
mov dword [esi + 0x848], edi
jmp 0x550692
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x848], edx
cmp dword [esi + 0x848], 3
je 0x5506a1
mov dword [esi + 0x848], edi
mov eax, dword [esi + 0x848]
mov ecx, esi
push eax
call fcn.0054ef60
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push edi
push edi
push 0x66d888
push eax
call ebx
test eax, eax
je 0x5506da
mov eax, dword [esi + 0x44]
dec eax
neg eax
sbb eax, eax
and al, 0xc5
add eax, 0x50
mov dword [esi + 0x34], eax
jmp 0x5506e0
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x34], ecx
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea edi, [esi + 0x408]
push edx
push edi
push 0
push 0
push 0x65548c
push eax
mov dword [ebp - 0x14], 8
call ebx
test eax, eax
je 0x550712
mov dword [edi], 0
mov dword [edi + 4], 0
mov ecx, dword [edi]
mov eax, dword [edi + 4]
or ecx, eax
jne 0x550786
cmp dword [esi + 0x44], 4
jne 0x550786
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x2c]
push edx
push eax
push 0
push 0
mov edi, 8
push 0x655498
push ecx
mov dword [ebp - 0x14], edi
call ebx
test eax, eax
jne 0x550756
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x300], edx
mov dword [esi + 0x304], eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x2c]
push ecx
push edx
push 0
push 0
push 0x66d238
push eax
mov dword [ebp - 0x14], edi
call ebx
test eax, eax
jne 0x550786
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov dword [esi + 0x418], ecx
mov dword [esi + 0x41c], edx
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
lea edi, [esi + 0x410]
push eax
push edi
push 0
push 0
push 0x660478
push ecx
mov dword [ebp - 0x14], 8
call ebx
test eax, eax
je 0x5507b8
mov dword [edi], 0
mov dword [edi + 4], 0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea edi, [esi + 0x420]
push edx
push edi
push 0
push 0
push 0x66d248
push eax
mov dword [ebp - 0x14], 4
call ebx
test eax, eax
je 0x5507e3
mov dword [edi], 0
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edi, [esi + 0x164]
push ecx
push edi
push 0
push 0
push 0x66d880
push edx
mov dword [ebp - 0x14], 4
call ebx
test eax, eax
je 0x55080e
mov dword [edi], 0
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push 0x66d404
push edx
mov dword [ebp - 0x14], 4
call ebx
test eax, eax
jne 0x550839
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x980], eax
push 0
lea ecx, [ebp - 0x20]
push 0
mov edx, dword [ebp - 0x18]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
inc eax
push eax
call fcn.005970d9
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x550889
mov eax, 0x753b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x14]
mov edi, ebx
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
push 0
push 0x656200
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x5508e2
mov edi, 0x679a28
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x24]
mov eax, dword [esi + 0x28]
add esi, 0x20
test eax, eax
je 0x5508f5
push eax
call fcn.00597102
add esp, 4
mov al, byte [0x679a28]
mov edi, ebx
mov byte [ebp + 0xb], al
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005970d9
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 8], edx
jne 0x550947
push 0x653a7c
mov ecx, esi
call fcn.00558680
push ebx
call fcn.00597102
add esp, 4
mov eax, 0x753b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push edx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
push 0
push 0
push 0x66d878
push eax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x5509c3
mov esi, dword [ebp - 0x24]
push 0x66d854
lea ecx, [esi + 0x42c]
call fcn.0050bf00
mov ecx, esi
call fcn.005518b0
push ebx
call fcn.00597102
add esp, 4
mov eax, 0x7541
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x20]
lea esi, [ecx + 0x20]
test eax, eax
je 0x5509d9
push eax
call fcn.00597102
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005970d9
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi], edx
jne 0x5509ff
push 0x653afc
jmp 0x55091f
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push edx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
push 0
push 0
push 0x655bec
push eax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x550a62
mov edi, 0x679a28
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x24]
lea esi, [eax + 0x20]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x550a78
push eax
call fcn.00597102
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x550a8b
mov dword [esi + 4], eax
jmp 0x550ad1
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005970d9
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 4], edx
jne 0x550ab2
push 0x653ad0
jmp 0x55091f
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push edx
push ebx
push 0
push 0
push 0x660378
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x550b15
mov edi, 0x65145c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x24]
lea esi, [eax + 0x20]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x550b2b
push eax
call fcn.00597102
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005970d9
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 0xc], edx
jne 0x550b52
push 0x665940
jmp 0x55091f
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x665748
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x66036c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
push ecx
push edx
call fcn.005502b0
add esp, 0x14
test eax, eax
jne 0x550bb0
mov edi, 0x66d844
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x30]
lea esi, [ecx + 0x20]
test eax, eax
je 0x550bc6
push eax
call fcn.00597102
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005970d9
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 0x10], edx
jne 0x550bed
push 0x665918
jmp 0x55091f
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push edx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0
push 0
push 0x66d834
push eax
mov dword [ebp - 0x14], ecx
call edi
test eax, eax
jne 0x550c63
mov esi, dword [ebp - 0x24]
push eax
push ebx
lea ecx, [esi + 0x20]
call fcn.0055b7e0
test eax, eax
mov dword [ebp + 8], eax
je 0x550c66
push ebx
call fcn.00597102
mov eax, dword [ebp + 8]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push edx
push ebx
push 0
push 0
push 0x66d82c
push eax
call edi
test eax, eax
jne 0x550c8e
push eax
push ebx
lea ecx, [esi + 0x20]
call fcn.0055e650
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push edx
push ebx
push 0
push 0
push 0x66d820
push eax
call edi
test eax, eax
jne 0x550d1e
lea eax, [esi + 0x20]
mov dword [ebp + 8], eax
mov eax, dword [eax + 0xa8]
cmp ebx, eax
je 0x550d1e
test eax, eax
je 0x550cc9
push eax
call fcn.00597102
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005970d9
mov ecx, dword [ebp + 8]
mov edx, eax
add esp, 4
test edx, edx
mov dword [ecx + 0xa8], edx
jne 0x550cf6
push 0x66d7f4
jmp 0x550921
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x24]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x34]
push ecx
push edx
push 0
push 0
push 0x66d7ec
push eax
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x550d49
mov ecx, dword [ebp - 0x34]
mov dword [esi + 0x96c], ecx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edx
push eax
push ebx
push 0
push 0
push 0x66d7e0
push ecx
call edi
test eax, eax
jne 0x550d74
lea edx, [esi + 0x64]
push ebx
push edx
call fcn.0057f2ea
add esp, 8
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
push ecx
push ebx
push 0
push 0
push 0x66d7d4
push edx
call edi
test eax, eax
jne 0x550da2
lea eax, [esi + 0x94]
push ebx
push eax
call fcn.0057f2ea
add esp, 8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push edx
push ebx
push 0
push 0
push 0x66d7cc
push eax
call edi
test eax, eax
jne 0x550e53
cmp dword [esi + 0x44], 4
jne 0x550dd5
push ebx
lea ecx, [esi + 0x20]
call fcn.00559f40
jmp 0x550e53
lea eax, [esi + 0x20]
mov dword [ebp + 8], eax
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x550deb
push eax
call fcn.00597102
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x550e01
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], eax
jmp 0x550e4d
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005970d9
mov ecx, dword [ebp + 8]
mov edx, eax
add esp, 4
test edx, edx
mov dword [ecx + 0x1c], edx
jne 0x550e2b
push 0x653a54
jmp 0x550921
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x24]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push edx
push ebx
push 0
push 0
push 0x66d7c8
push eax
call edi
test eax, eax
jne 0x550e99
push ebx
lea ecx, [esi + 0x17c]
call fcn.0059aec6
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov byte [esi + 0x17b], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x550e99
mov byte [esi + 0x2d1], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x14]
push edx
push ebx
push 0
push 0
push 0x66d7c0
push eax
mov dword [ebp - 0x14], ecx
call edi
test eax, eax
jne 0x550ec9
push ebx
lea ecx, [esi + 0xf0]
call fcn.0059aec6
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push edx
push ebx
push 0
push 0
push 0x66d7bc
push eax
call edi
test eax, eax
jne 0x550ef3
push ebx
lea ecx, [esi + 0x180]
call fcn.0059aec6
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push edx
push ebx
push 0
push 0
push 0x65687c
push eax
call edi
test eax, eax
jne 0x550f41
lea eax, [esi + 0x20]
mov dword [ebp + 8], eax
mov eax, dword [eax + 0x18]
test eax, eax
je 0x550f27
push eax
call fcn.00597102
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x550fa3
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x2c0]
push ecx
push edx
push 0
push 0
push 0x66821c
push eax
mov dword [ebp - 0x14], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x550ff4
lea ecx, [ebp - 0x2c0]
push ecx
lea ecx, [esi + 0x20]
call fcn.0055c480
test eax, eax
mov dword [ebp + 8], eax
je 0x550ff4
push ebx
call fcn.00597102
mov eax, dword [ebp + 8]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005970d9
mov ecx, dword [ebp + 8]
mov edx, eax
add esp, 4
test edx, edx
mov dword [ecx + 0x18], edx
jne 0x550fcd
push 0x653aa8
jmp 0x550921
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x24]
jmp 0x550f3b
mov edx, dword [ebp - 0x18]
lea ecx, [esi + 0x20]
push edx
call fcn.0055a800
test eax, eax
jne 0x551071
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x30]
push 1
push ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00553150
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x55102a
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 0x20]
call fcn.0055c2b0
test eax, eax
mov dword [ebp + 8], eax
je 0x551065
push ebx
call fcn.00597102
add esp, 4
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00401070
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edx
push eax
push ebx
push 0
push 0
push 0x66d3c0
push ecx
call edi
test eax, eax
jne 0x5510c7
push ebx
lea ecx, [esi + 0x20]
call fcn.0055c530
test eax, eax
mov dword [ebp + 8], eax
je 0x5510be
push ebx
call fcn.00597102
mov eax, dword [ebp + 8]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov byte [esi + 0x2ce], 1
jmp 0x55111b
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edx
push eax
push ebx
push 0
push 0
push 0x6561d8
push ecx
call edi
test eax, eax
jne 0x55111b
push ebx
lea ecx, [esi + 0x20]
call fcn.0055c530
test eax, eax
mov dword [ebp + 8], eax
je 0x551114
push ebx
call fcn.00597102
mov eax, dword [ebp + 8]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov byte [esi + 0x2ce], 0
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push 0x66d318
push ecx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x551146
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0xd4], edx
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push 0x66d294
push edx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x551171
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xd8], eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
push 0
push 0x66d7b4
push eax
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x55119c
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x2c0], ecx
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push 0x66adf8
push ecx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5511cb
cmp dword [ebp - 0x1c], 1
sete dl
mov byte [esi + 0x2de], dl
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push 0x66d414
push edx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5511f8
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x2c4], eax
jmp 0x551202
mov dword [esi + 0x2c4], 0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
push 0
push 0x66d40c
push eax
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x551232
mov eax, dword [ebp - 0x1c]
test eax, eax
setne cl
mov byte [esi + 0x2d5], cl
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push 0x655314
push ecx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x55125f
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x404], edx
jmp 0x55129c
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x55129c
mov eax, dword [esi + 0x400]
push eax
call fcn.00461170
test eax, eax
je 0x551280
mov dword [esi + 0x404], 1
mov ecx, dword [ebp - 0x18]
add esi, 0x404
push 4
push esi
push 4
push 0
push 0x655314
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.00597102
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8