Function at 0x436f70
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4adf32
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4e0
mov eax, dword [0x4e006c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4d4], edx
push 0x33
xor eax, eax
mov dword [ebp - 0x4a0], 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x4b0]
mov dword [ebp - 0x49c], 7
mov word [ebp - 0x4b0], ax
call fcn.00407d50
mov dword [ebp - 4], 0
lea eax, [ebp - 0x4c8]
push dword [ebp - 0x4d4]
xorps xmm0, xmm0
mov dword [ebp - 0x420], 0
push eax
lea eax, [ebp - 0x4d0]
movq qword [ebp - 0x428], xmm0
push eax
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x4d0], 0x20119
mov dword [ebp - 0x4cc], 0x20219
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 0
call fcn.0043e6e0
xor eax, eax
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 7
mov word [ebp - 0x45c], ax
mov dword [ebp - 0x488], eax
mov dword [ebp - 0x484], 7
mov word [ebp - 0x498], ax
push 0xf
push str.Mozilla_Firefox
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 3
call fcn.00407d50
push 0xb
push str.firefox.exe
lea ecx, [ebp - 0x498]
call fcn.00407d50
mov edi, dword [ebp - 0x428]
mov esi, edi
mov dword [ebp - 0x4c8], edi
cmp esi, dword [ebp - 0x424]
je 0x4375de
nop dword [eax]
cmp dword [ebp - 0x49c], 8
lea ecx, [ebp - 0x4b4]
push ecx
push dword [esi]
lea eax, [ebp - 0x4b0]
mov dword [ebp - 0x4b4], 0
cmovae eax, dword [ebp - 0x4b0]
push 0
push eax
push 0x80000002
mov dword [ebp - 0x444], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4375c3
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x444]
push eax
push 0
push 0
push 0
push dword [ebp - 0x4b4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x4375b7
push 0x200
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00482710
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x4c4], eax
cmp dword [ebp - 0x444], eax
jbe 0x4375b7
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x478], 0xff
push ecx
lea ecx, [ebp - 0x218]
push ecx
push eax
push dword [ebp - 0x4b4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x437598
mov dword [ebp - 0x4b8], eax
mov eax, dword [ebp - 0x478]
add eax, eax
cmp eax, 0x200
jae 0x43795e
xor ecx, ecx
mov dword [ebp - 0x42c], 7
mov word [ebp + eax - 0x218], cx
xor eax, eax
mov dword [ebp - 0x430], ecx
lea ecx, [ebp - 0x218]
mov word [ebp - 0x440], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4371e2
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.00407d50
mov byte [ebp - 4], 4
lea eax, [ebp - 0x440]
cmp dword [ebp - 0x42c], 8
lea ecx, [ebp - 0x440]
mov edx, dword [ebp - 0x440]
lea esi, [ebp - 0x440]
cmovae eax, edx
mov dword [ebp - 0x47c], edx
cmovae ecx, edx
mov dword [ebp - 0x4c0], eax
mov eax, dword [ebp - 0x430]
cmovae esi, edx
xor edx, edx
xor edi, edi
lea eax, [ecx + eax*2]
mov ecx, eax
sub ecx, esi
inc ecx
shr ecx, 1
cmp esi, eax
cmova ecx, edx
mov dword [ebp - 0x41c], ecx
test ecx, ecx
je 0x437294
sub dword [ebp - 0x4c0], esi
movzx eax, word [esi]
push eax
call fcn.0048e3e8
mov ecx, dword [ebp - 0x4c0]
lea esi, [esi + 2]
inc edi
add esp, 4
mov word [ecx + esi - 2], ax
cmp edi, dword [ebp - 0x41c]
jne 0x437265
mov edx, dword [ebp - 0x440]
mov dword [ebp - 0x47c], edx
cmp dword [ebp - 0x448], 8
lea eax, [ebp - 0x45c]
mov edi, dword [ebp - 0x45c]
lea edx, [ebp - 0x45c]
mov esi, dword [ebp - 0x44c]
cmovae eax, edi
cmovae edx, edi
lea eax, [eax + esi*2]
lea esi, [ebp - 0x45c]
mov ecx, eax
cmovae esi, edi
xor edi, edi
sub ecx, esi
inc ecx
shr ecx, 1
cmp esi, eax
cmova ecx, edi
mov dword [ebp - 0x4c0], ecx
test ecx, ecx
je 0x437310
sub edx, esi
mov dword [ebp - 0x41c], edx
movzx eax, word [esi]
push eax
call fcn.0048e3e8
mov ecx, dword [ebp - 0x41c]
lea esi, [esi + 2]
inc edi
add esp, 4
mov word [ecx + esi - 2], ax
cmp edi, dword [ebp - 0x4c0]
jne 0x4372e5
mov esi, dword [ebp - 0x440]
jmp 0x437316
mov esi, dword [ebp - 0x47c]
cmp dword [ebp - 0x448], 8
lea eax, [ebp - 0x45c]
push dword [ebp - 0x44c]
cmovae eax, dword [ebp - 0x45c]
lea ecx, [ebp - 0x440]
mov edi, dword [ebp - 0x42c]
cmp edi, 8
mov edx, dword [ebp - 0x430]
push eax
cmovae ecx, esi
push 0
call fcn.0043ec60
add esp, 0xc
cmp eax, 0xffffffff
je 0x437560
lea ecx, [ebp - 0x4b8]
cmp edi, 8
push ecx
push 0x20019
lea eax, [ebp - 0x440]
push 0
cmovae eax, esi
push eax
push dword [ebp - 0x4b4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x437554
push 0x200
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00482710
add esp, 0xc
mov dword [ebp - 0x41c], 0x1fe
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push 0
push str.InstallLocation
push dword [ebp - 0x4b8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x437548
push 0x4e5b58
push 0x41fd50
push 0x4e5b60
call fcn.00466ace
add esp, 0xc
test eax, eax
je 0x437959
xor eax, eax
mov dword [ebp - 0x464], 0
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x460], 7
mov word [ebp - 0x474], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437420
sub ecx, edx
lea eax, [ebp - 0x418]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x474]
call fcn.00407d50
push 1
push 0x4c8e6c
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 5
call fcn.00415840
cmp dword [ebp - 0x484], 8
lea eax, [ebp - 0x498]
push dword [ebp - 0x488]
cmovae eax, dword [ebp - 0x498]
lea ecx, [ebp - 0x474]
push eax
call fcn.00415840
mov byte [ebp - 0x4cc], 0
lea edx, [ebp - 0x474]
push dword [ebp - 0x4cc]
lea ecx, [ebp - 0x4ec]
call fcn.0041eb00
add esp, 4
lea edx, [ebp - 0x480]
lea ecx, [ebp - 0x4ec]
call fcn.004406d0
mov edx, dword [ebp - 0x4d8]
mov byte [ebp - 0x4b9], al
cmp edx, 8
jb 0x4374fc
mov ecx, dword [ebp - 0x4ec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4374ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43793b
push edx
push ecx
call fcn.0046a609
mov al, byte [ebp - 0x4b9]
add esp, 8
test al, al
jne 0x437621
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x460]
cmp edx, 8
jb 0x437548
mov ecx, dword [ebp - 0x474]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43753e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43793b
push edx
push ecx
call fcn.0046a609
add esp, 8
push dword [ebp - 0x4b8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x42c]
mov esi, dword [ebp - 0x440]
mov byte [ebp - 4], 3
cmp edi, 8
jb 0x437598
lea edi, [edi*2 + 2]
mov eax, esi
cmp edi, 0x1000
jb 0x43758e
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43793b
push edi
push esi
call fcn.0046a609
add esp, 8
mov eax, dword [ebp - 0x4c4]
inc eax
mov dword [ebp - 0x4c4], eax
cmp eax, dword [ebp - 0x444]
jb 0x437168
mov esi, dword [ebp - 0x4c8]
push dword [ebp - 0x4b4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 4
mov dword [ebp - 0x4c8], esi
cmp esi, dword [ebp - 0x424]
jne 0x4370d0
mov edi, dword [ebp - 0x428]
mov edx, dword [ebp - 0x484]
cmp edx, 8
jb 0x437846
mov ecx, dword [ebp - 0x498]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43783c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437936
jmp 0x43783c
mov ecx, dword [ebp - 0x4d4]
lea eax, [ebp - 0x474]
cmp ecx, eax
je 0x43764b
cmp dword [ebp - 0x460], 8
push dword [ebp - 0x464]
cmovae eax, dword [ebp - 0x474]
push eax
call fcn.00407d50
push dword [ebp - 0x4b8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x4b4]
call esi
mov edx, dword [ebp - 0x460]
cmp edx, 8
jb 0x4376a1
mov ecx, dword [ebp - 0x474]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x437697
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43793b
push edx
push ecx
call fcn.0046a609
add esp, 8
mov edx, dword [ebp - 0x42c]
xor eax, eax
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 7
mov word [ebp - 0x474], ax
cmp edx, 8
jb 0x4376fe
mov ecx, dword [ebp - 0x440]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4376f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437940
push edx
push ecx
call fcn.0046a609
add esp, 8
mov edx, dword [ebp - 0x484]
xor eax, eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
cmp edx, 8
jb 0x43775b
mov ecx, dword [ebp - 0x498]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x437751
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437945
push edx
push ecx
call fcn.0046a609
add esp, 8
mov edx, dword [ebp - 0x448]
cmp edx, 8
jb 0x43779b
mov ecx, dword [ebp - 0x45c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x437791
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43794a
push edx
push ecx
call fcn.0046a609
add esp, 8
mov edx, dword [ebp - 0x428]
xor eax, eax
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 7
mov word [ebp - 0x45c], ax
test edx, edx
je 0x4377f5
mov ecx, dword [ebp - 0x420]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4377eb
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43794f
push ecx
push edx
call fcn.0046a609
add esp, 8
mov edx, dword [ebp - 0x49c]
cmp edx, 8
jb 0x437835
mov ecx, dword [ebp - 0x4b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43782b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437954
push edx
push ecx
call fcn.0046a609
add esp, 8
mov al, 1
jmp 0x437918
push edx
push ecx
call fcn.0046a609
add esp, 8
mov edx, dword [ebp - 0x448]
cmp edx, 8
jb 0x437886
mov ecx, dword [ebp - 0x45c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43787c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437963
push edx
push ecx
call fcn.0046a609
add esp, 8
xor eax, eax
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 7
mov word [ebp - 0x45c], ax
test edi, edi
je 0x4378da
mov ecx, dword [ebp - 0x420]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4378d0
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437968
push ecx
push edi
call fcn.0046a609
add esp, 8
mov edx, dword [ebp - 0x49c]
cmp edx, 8
jb 0x437916
mov ecx, dword [ebp - 0x4b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43790c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43796d
push edx
push ecx
call fcn.0046a609
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046a0e8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0048552c
call fcn.0048552c
call fcn.0048552c
call fcn.0048552c
call fcn.0048552c
call fcn.0048552c
call fcn.0048552c
call fcn.00486dba
call fcn.0046a776
call fcn.0048552c
call fcn.0048552c
call fcn.0048552c
int3