Function at 0x40f369
Capabilities:
Delete registry value
Get geographical location
Set registry value

Disassembly:
mov eax, 0x41dc46
call fcn.00412384
sub esp, 0x118
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push edi
je 0x40f5bd
push dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call edi
test eax, eax
je 0x40f5bd
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
push 0xf003f
push str.Software
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00402e3d
test eax, eax
je 0x40f3d1
mov ebx, 0x80004005
jmp 0x40f599
push esi
push ebx
push ebx
mov esi, 0x2001f
push esi
push ebx
push ebx
push str.JavaSoft
push dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
call fcn.0040e856
test eax, eax
je 0x40f3fa
mov ebx, 0x80004005
jmp 0x40f598
push ebx
push ebx
push esi
push ebx
push ebx
push str.Java_Update
push dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
call fcn.0040e856
test eax, eax
jne 0x40f3f0
push ebx
push ebx
push esi
push ebx
push ebx
push str.Policy
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
call fcn.0040e856
test eax, eax
jne 0x40f3f0
push 0xffffffffffffffff
push ebx
push 0x420894
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.0040e902
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4208a2
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0x18], 0x80
call esi
push 0x4208a3
lea eax, [ebp - 0x124]
push eax
call esi
lea eax, [ebp - 0x18]
push eax
push 0x4208a4
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040e8a4
lea eax, [ebp - 0x18]
push eax
push 0x4208b8
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], 0x80
call fcn.0040e8a4
lea eax, [ebp - 0x18]
push eax
push 0x4208c8
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 0x14], bl
mov dword [ebp - 0x18], 3
call fcn.0040e8a4
lea eax, [ebp - 0x14]
push eax
call edi
cmp eax, 2
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
je 0x40f4f6
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
call fcn.0040ea16
pop ecx
pop ecx
lea eax, [ebp - 0x14]
push eax
call edi
inc eax
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push ebx
push 0x4208d0
push dword [ebp - 0x10]
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
lea eax, [ebp - 0xa4]
push eax
push dword [ebp + 0x10]
call edi
test eax, eax
jne 0x40f51c
lea eax, [ebp - 0x124]
push eax
push dword [ebp + 0x14]
call edi
test eax, eax
je 0x40f598
mov edi, dword [ebp - 0x10]
push 4
lea eax, [ebp + 8]
push eax
push 4
push ebx
push str.UpdateDetected
push edi
mov dword [ebp + 8], 1
call esi
cmp dword [ebp + 0x10], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
je 0x40f557
push 0xffffffffffffffff
push ebx
push 0x4208e8
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call fcn.0040e902
jmp 0x40f55f
push 0x4208fc
push edi
call esi
cmp dword [ebp + 0x14], ebx
je 0x40f579
push 0xffffffffffffffff
push ebx
push 0x420910
push dword [ebp + 0x14]
lea ecx, [ebp - 0x10]
call fcn.0040e902
jmp 0x40f581
push 0x420920
push edi
call esi
push str.UpdAvailNotifyCnt
push edi
call esi
push str.UpdAvailNotifyTime
push edi
call esi
push ebx
call fcn.0040efbe
pop ecx
pop esi
lea ecx, [ebp - 0x10]
call fcn.00402e26
lea ecx, [ebp - 0x1c]
call fcn.00402e26
lea ecx, [ebp - 0x24]
call fcn.00402e26
lea ecx, [ebp - 0x20]
call fcn.00402e26
mov eax, ebx
jmp 0x40f5c4
call fcn.0040bd13
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret