Function at 0x4371c0
Capabilities:
Check for peb beingdebugged flag
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x49d8a6
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c1bd8]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x240]
xor edi, edi
push 0x206
mov esi, ecx
lea ecx, [esp + 0x2a]
xor eax, eax
push edi
push ecx
mov dword [esp + 0x24], edi
mov word [esp + 0x30], ax
call fcn.00454ce0
mov eax, ebp
add esp, 0xc
mov dword [esp + 0x14], edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x437230
sub eax, edx
mov edx, dword [0x4c44d8]
sar eax, 1
mov ebx, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4c44d8
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 4]
push ecx
push ebp
lea edx, [esp + 0x24]
push 0x4a1680
push edx
mov dword [esp + 0x248], edi
call fcn.0040e7e0
mov eax, dword [esp + 0x2c]
push edi
push eax
call fcn.004229a0
add esp, 0x18
cmp eax, 2
jge 0x437291
mov ecx, 2
sub ecx, eax
mov dword [esp + 0x14], ecx
call fcn.004115c0
test eax, eax
je 0x43732a
mov edx, dword [0x4c44d8]
mov eax, dword [edx + 0xc]
mov ecx, 0x4c44d8
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 4]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths
lea edx, [esp + 0x28]
push 0x4a1680
push edx
mov byte [esp + 0x248], 1
call fcn.0040e7e0
add esp, 0x10
lea eax, [esp + 0x18]
push eax
push 0x101
push edi
mov edi, dword [esp + 0x2c]
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x437306
mov ecx, dword [esp + 0x1c]
push 1
push ecx
call fcn.004229a0
add esp, 8
lea eax, [edi - 0x10]
mov byte [esp + 0x238], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43732a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push 2
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall360SD
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x437605
push 0x208
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.00454ce0
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00455578
lea eax, [esp + 0x3c]
add esp, 0x18
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x437380
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
mov eax, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
push 1
push 0
push str.DisplayName
push eax
call edi
test eax, eax
je 0x4373b7
inc dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea ecx, [ebx + ebx + 2]
push ecx
push ebp
push 1
push 0
push str.InstallLocation
push edx
call edi
test eax, eax
je 0x4373d5
inc dword [esp + 0x14]
push 0x208
lea eax, [esp + 0x28]
push 0
push eax
call fcn.00454ce0
push ebx
lea ecx, [esp + 0x34]
push ebp
push ecx
call fcn.00455578
push 1
lea edx, [esp + 0x40]
push 0x4a0e7c
push edx
call fcn.004555c2
push 0xa
lea eax, [esp + 0x4c]
push str.uninst.exe
push eax
call fcn.004555c2
lea eax, [esp + 0x54]
add esp, 0x30
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x437420
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
mov eax, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
push 1
push 0
push str.UninstallString
push eax
call edi
test eax, eax
je 0x437451
inc dword [esp + 0x14]
push 0x208
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.00454ce0
push ebx
lea edx, [esp + 0x34]
push ebp
push edx
call fcn.00455578
mov ebx, 1
push ebx
lea eax, [esp + 0x40]
push 0x4a0e7c
push eax
call fcn.004555c2
mov eax, dword [esi + 4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.004555c2
lea eax, [esp + 0x54]
add esp, 0x30
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4374a0
mov ecx, dword [esp + 0x18]
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
lea eax, [esp + 0x28]
push eax
push ebx
push 0
push str.DisplayIcon
push ecx
call edi
test eax, eax
je 0x4374d0
add dword [esp + 0x14], ebx
push 0x208
lea edx, [esp + 0x28]
push 0
push edx
call fcn.00454ce0
mov eax, dword [esi + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00455578
lea eax, [esp + 0x3c]
add esp, 0x18
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x437500
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
mov eax, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
push 0
push str.DisplayVersion
push eax
call edi
test eax, eax
je 0x437530
add dword [esp + 0x14], ebx
push 0x208
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.00454ce0
mov eax, dword [esi + 0x24]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x38]
push edx
call fcn.00455578
lea eax, [esp + 0x3c]
add esp, 0x18
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x437560
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebx
push 0
push str.URLInfoAbout
push edx
call edi
test eax, eax
je 0x437590
add dword [esp + 0x14], ebx
push 0x208
lea eax, [esp + 0x28]
push 0
push eax
call fcn.00454ce0
mov eax, dword [esi + 0x20]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00455578
mov eax, dword [esi + 0x20]
add esp, 0x18
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4375c0
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push edx
push ebx
push 0
push 0x4a4b0c
push eax
call edi
test eax, eax
je 0x4375f0
add dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], 0
jmp 0x43760a
add dword [esp + 0x14], 7
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x238], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x437635
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00454cc7
add esp, 0x228
ret 4