Function at 0x43d5e0
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5792d1
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x5fb61c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 0x22
xor edi, edi
xor eax, eax
push 0x595e60
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], edi
mov word [ebp - 0x234], ax
call fcn.00437a20
push 0xffffffffffffffff
push edi
push ebx
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], edi
call fcn.0043c8e0
push 0x206
lea edx, [ebp - 0x216]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x218], cx
call fcn.005336c0
add esp, 0xc
mov dword [ebp - 0x254], edi
mov eax, dword [ebp - 0x234]
mov ebx, 8
mov byte [ebp - 4], 1
cmp dword [ebp - 0x220], ebx
jae 0x43d69a
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x254]
push ecx
push 0x20019
push edi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x43d6e7
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], dx
mov eax, dword [ebp - 0x254]
cmp eax, edi
je 0x43d6dc
cmp eax, 0xffffffff
je 0x43d6dc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x220], ebx
jmp 0x43d82b
mov eax, dword [ebp - 0x254]
lea ecx, [ebp - 0x260]
push ecx
lea edx, [ebp - 0x218]
push edx
push edi
push edi
push 0x595eb8
push eax
mov dword [ebp - 0x260], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x25c]
push ecx
lea edx, [ebp - 0x218]
push edx
mov dword [ebp - 0x25c], edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
cmp dword [ebp - 0x25c], edi
jle 0x43d7ff
mov ecx, dword [ebx]
xor eax, eax
mov word [ebp - 0x250], ax
mov eax, ecx
lea edx, [eax + 2]
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x258], edx
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x43d761
sub eax, dword [ebp - 0x258]
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x250]
call fcn.00437a20
push ebx
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x250]
mov ebx, 7
xor eax, eax
push ecx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], edi
mov ecx, esi
mov word [esi], ax
call fcn.0042eb10
cmp dword [ebp - 0x23c], 8
jb 0x43d7c2
mov edx, dword [ebp - 0x250]
push edx
call int.0042bfd0
add esp, 4
xor eax, eax
mov word [ebp - 0x250], ax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x240], edi
cmp eax, edi
je 0x43d7ed
cmp eax, 0xffffffff
je 0x43d7ed
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x220], 8
jb 0x43d83c
mov ecx, dword [ebp - 0x234]
push ecx
jmp 0x43d834
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], dx
mov eax, dword [ebp - 0x254]
cmp eax, edi
je 0x43d824
cmp eax, 0xffffffff
je 0x43d824
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x220], 8
jb 0x43d83c
mov eax, dword [ebp - 0x234]
push eax
call int.0042bfd0
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005332ca
mov esp, ebp
pop ebp
ret