Function at 0x43ccc1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4d8300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, str.SOFTWARE_
mov dword [ebp - 0x120], ecx
lea edi, [ebp - 0x10]
xor ebx, ebx
lea eax, [ebp - 0x114]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x104
push esi
push ebx
push eax
call fcn.00478bc0
or dword [ebp - 0x124], 0xffffffff
push esi
push ebx
push 0x51ff98
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x128], esi
call fcn.00478bc0
push 0x4d02a0
call fcn.004816f0
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x43cd44
cmp byte [edi + 0x4d02a0], 0x5c
je 0x43cd75
sub edi, 1
jne 0x43cd36
lea eax, [ebp - 0x11c]
push eax
push 0x2001d
push ebx
push str.SOFTWARE
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43cebc
mov dword [ebp - 0x11c], ebx
jmp 0x43cf3c
push 9
lea eax, [ebp - 0x10]
push eax
push 0x4d02a0
call fcn.004873d4
add esp, 0xc
test eax, eax
je 0x43ce24
lea eax, [edi + 0xa]
cmp eax, esi
jae 0x43ce28
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00486c30
push 0x4d02a0
call fcn.004816f0
mov esi, eax
lea eax, [ebp - 0x114]
push eax
call fcn.004816f0
mov ecx, 0x103
add esp, 0x10
sub ecx, eax
lea eax, [esi + 1]
cmp eax, ecx
jae 0x43cde4
push 0x4d02a0
call fcn.004816f0
pop ecx
lea ecx, [eax + 1]
jmp 0x43cdf8
lea eax, [ebp - 0x114]
push eax
call fcn.004816f0
pop ecx
mov ecx, 0x103
sub ecx, eax
push ecx
lea eax, [ebp - 0x114]
push 0x4d02a0
push eax
call fcn.00481780
lea eax, [edi + 9]
add esp, 0xc
cmp eax, 0x104
jae 0x43cf62
mov byte [ebp + eax - 0x114], bl
jmp 0x43ce8f
cmp edi, esi
jb 0x43ce2f
xor eax, eax
jmp 0x43cf53
push 0x4d02a0
call fcn.004816f0
inc eax
pop ecx
cmp eax, esi
jae 0x43ce4d
push 0x4d02a0
call fcn.004816f0
pop ecx
inc eax
jmp 0x43ce4f
mov eax, esi
push eax
lea eax, [ebp - 0x114]
push 0x4d02a0
push eax
call fcn.00476fc0
push 0x4d02a0
call fcn.004816f0
add esp, 0x10
inc eax
cmp eax, esi
jae 0x43ce81
push 0x4d02a0
call fcn.004816f0
pop ecx
lea esi, [eax + 1]
mov byte [ebp + esi - 0x115], bl
mov byte [ebp + edi - 0x114], bl
lea eax, [ebp - 0x118]
inc edi
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43cee3
mov dword [ebp - 0x118], ebx
jmp 0x43cf27
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x118]
push eax
push ebx
push 7
push ebx
push ebx
push ebx
push str.FormatUsbFormatUsb
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
jmp 0x43ceb0
lea eax, [ebp - 0x128]
push eax
push 0x51ff98
lea eax, [ebp - 0x124]
push eax
push ebx
lea eax, [edi + 0x4d02a0]
push eax
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 2
je 0x43cf24
test eax, eax
jne 0x43cf27
cmp dword [ebp - 0x124], 1
jne 0x43cf27
cmp dword [ebp - 0x128], ebx
jbe 0x43cf27
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x11c], 0
je 0x43cf3c
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x118], 0
je 0x43cf51
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00475c80
leave
ret
call fcn.00475db1
int3