Function at 0x554390
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x30
push 0
push 0
dec ecx
jne 0x554399
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x554ab3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00404900
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x554acc
call fcn.00404e6c
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00404d88
mov al, byte [0x554ad0]
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x128]
mov ecx, 0x554acc
mov edx, dword [ebp - 8]
call fcn.00404b74
mov edx, dword [ebp - 0x128]
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.0040e90c
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0xc]
call fcn.00404900
mov eax, dword [ebp - 8]
call fcn.004d0908
mov ebx, eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404d28
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne case.0x55453d.0
mov dword [ebp - 0x18], pe_nt_image_headers32
lea eax, [ebp - 0x10]
mov edx, esi
call fcn.00404900
mov eax, dword [ebp - 0x10]
mov edx, 0x554adc
call fcn.00404c74
jne 0x5544bc
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 0x138], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 0xb
lea edx, [ebp - 0x13c]
mov ecx, 1
mov eax, 0x554aec
call fcn.0040a4d0
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp case.0x55453d.0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 0x10]
call fcn.00404d28
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne case.0x55453d.0
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 0x138], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 0xb
lea edx, [ebp - 0x13c]
mov ecx, 1
mov eax, 0x554aec
call fcn.0040a4d0
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x14]
cmp eax, 7
ja case.0x55453d.0
jmp dword [eax*4 + 0x554544]
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x120]
mov ecx, pe_nt_image_headers32
call fcn.00404ad8
mov eax, dword [ebp - 0x1c]
call fcn.00404b28
mov ebx, eax
lea eax, [ebp - 0x1c]
call fcn.00404868
mov esi, ebx
dec esi
test esi, esi
jl 0x5545ca
inc esi
lea ebx, [ebp - 0x120]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x144]
xor eax, eax
mov al, byte [ebx]
mov edx, 2
call fcn.004094e8
push dword [ebp - 0x144]
push 0x554afc
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404be8
inc ebx
dec esi
jne 0x554597
mov eax, dword [ebp - 0x1c]
call fcn.00404b28
mov edx, eax
lea eax, [ebp - 0x1c]
mov ecx, 1
call fcn.00404dc8
lea eax, [ebp - 0x148]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 0x138], 0xb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 0xb
lea edx, [ebp - 0x13c]
mov ecx, 1
mov eax, 0x554b08
call fcn.0040a4d0
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp case.0x55453d.0
lea eax, [ebp - 0x1c]
call fcn.00404868
mov esi, dword [ebp - 0x18]
test esi, esi
jl 0x554680
inc esi
lea ebx, [ebp - 0x120]
mov al, byte [ebx]
test al, al
je 0x55467c
mov edi, eax
and edi, 0xff
mov eax, edi
and eax, 0xff
lea ecx, [ebp - 0x14c]
mov edx, 2
call fcn.004094e8
mov edx, dword [ebp - 0x14c]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
call fcn.00404b74
inc ebx
dec esi
jne 0x554646
lea eax, [ebp - 0x150]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 0x138], 0xb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 0xb
lea edx, [ebp - 0x13c]
mov ecx, 1
mov eax, 0x554b1c
call fcn.0040a4d0
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp case.0x55453d.0
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x120]
mov ecx, pe_nt_image_headers32
call fcn.00404ad8
mov ebx, 1
lea eax, [ebp - 0x1c]
call fcn.00404868
jmp 0x5547bc
mov eax, dword [ebp - 0x20]
mov al, byte [eax + ebx - 1]
push eax
call sub.kernel32.dll_IsDBCSLeadByte
test eax, eax
je 0x554781
lea eax, [ebp - 0x15c]
mov edx, dword [ebp - 0x20]
mov dl, byte [edx + ebx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x15c]
lea eax, [ebp - 0x160]
call fcn.004030d8
lea eax, [ebp - 0x164]
mov edx, dword [ebp - 0x20]
mov dl, byte [edx + ebx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x164]
lea eax, [ebp - 0x160]
mov cl, 2
call fcn.004030a8
lea edx, [ebp - 0x160]
lea eax, [ebp - 0x158]
call fcn.00404acc
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x154]
call fcn.004d1c4c
mov edx, dword [ebp - 0x154]
lea eax, [ebp - 0x1c]
call fcn.00404b30
inc ebx
jmp 0x5547bb
mov eax, dword [ebp - 0x20]
movzx edi, byte [eax + ebx - 1]
push dword [ebp - 0x1c]
mov eax, edi
and eax, 0xff
lea ecx, [ebp - 0x168]
mov edx, 2
call fcn.004094e8
push dword [ebp - 0x168]
push 0x554b34
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404be8
inc ebx
mov eax, dword [ebp - 0x20]
call fcn.00404b28
cmp ebx, eax
jle 0x5546f4
mov eax, dword [ebp - 0x1c]
call fcn.00404b28
mov edx, eax
lea eax, [ebp - 0x1c]
mov ecx, 1
call fcn.00404dc8
lea eax, [ebp - 0x16c]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 0x138], 0xb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 0xb
lea edx, [ebp - 0x13c]
mov ecx, 1
mov eax, 0x554b44
call fcn.0040a4d0
mov edx, dword [ebp - 0x16c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp case.0x55453d.0
xor ebx, ebx
lea eax, [ebp - 0x1c]
call fcn.00404868
jmp 0x554947
mov eax, ebx
cdq
push edx
push eax
mov eax, dword [ebp - 0x18]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x55485e
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x554947
jmp 0x554866
pop edx
pop eax
jle 0x554947
cmp byte [ebp + ebx - 0x120], 0
jne 0x55487e
cmp byte [ebp + ebx - 0x11f], 0
je 0x55496c
mov al, byte [ebp + ebx - 0x120]
push eax
call sub.kernel32.dll_IsDBCSLeadByte
test eax, eax
je 0x55490c
lea eax, [ebp - 0x15c]
mov dl, byte [ebp + ebx - 0x120]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x15c]
lea eax, [ebp - 0x160]
call fcn.004030d8
lea eax, [ebp - 0x164]
mov dl, byte [ebp + ebx - 0x11f]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x164]
lea eax, [ebp - 0x160]
mov cl, 2
call fcn.004030a8
lea edx, [ebp - 0x160]
lea eax, [ebp - 0x174]
call fcn.00404acc
mov eax, dword [ebp - 0x174]
lea edx, [ebp - 0x170]
call fcn.004d1c4c
mov edx, dword [ebp - 0x170]
lea eax, [ebp - 0x1c]
call fcn.00404b30
inc ebx
jmp 0x554946
movzx edi, byte [ebp + ebx - 0x120]
push dword [ebp - 0x1c]
mov eax, edi
and eax, 0xff
lea ecx, [ebp - 0x178]
mov edx, 2
call fcn.004094e8
push dword [ebp - 0x178]
push 0x554b34
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404be8
inc ebx
mov eax, ebx
cdq
push edx
push eax
mov eax, dword [ebp - 0x18]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x554964
cmp eax, dword [esp]
pop edx
pop eax
jae 0x554841
jmp 0x55496c
pop edx
pop eax
jge 0x554841
lea eax, [ebp - 0x1c]
mov edx, 0x554b5c
call fcn.00404b30
lea eax, [ebp - 0x17c]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 0x138], 0xb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 0xb
lea edx, [ebp - 0x13c]
mov ecx, 1
mov eax, 0x554b70
call fcn.0040a4d0
mov edx, dword [ebp - 0x17c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp case.0x55453d.0
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x120]
mov ecx, pe_nt_image_headers32
call fcn.00404ad8
mov al, byte [0x554ad0]
push eax
lea eax, [ebp - 0x180]
push eax
mov ecx, 0x554b88
mov edx, 0x554acc
mov eax, dword [ebp - 0x1c]
call fcn.0040e90c
mov edx, dword [ebp - 0x180]
lea eax, [ebp - 0x1c]
call fcn.00404900
lea eax, [ebp - 0x184]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 0x138], 0xb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 0xb
lea edx, [ebp - 0x13c]
mov ecx, 1
mov eax, 0x554b94
call fcn.0040a4d0
mov edx, dword [ebp - 0x184]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x554aba
lea eax, [ebp - 0x184]
mov edx, 8
call fcn.0040488c
lea eax, [ebp - 0x158]
mov edx, 7
call fcn.0040488c
lea eax, [ebp - 0x12c]
mov edx, 3
call fcn.0040488c
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0040488c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040488c
ret