Function at 0x40da89
Capabilities:
Delete registry value
Get geographical location

Disassembly:
push 0x2a0
mov eax, 0x46f596
call fcn.004516bd
xor ebx, ebx
lea eax, [ebp - 0x218]
push 1
push eax
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x21c], ebx
mov byte [ebp - 0x220], bl
call fcn.00449e71
pop ecx
pop ecx
test eax, eax
je 0x40ddc4
mov esi, dword [sym.imp.kernel32.dll_lstrcpyA]
push 0x479ab4
lea eax, [ebp - 0x214]
push eax
call esi
lea eax, [ebp - 0x214]
lea edi, [ebp - 0x284]
call fcn.0040bb50
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x230], eax
push str.Country
lea eax, [ebp - 0x234]
push eax
call fcn.00432cac
mov eax, dword [ebp - 0x27c]
sub eax, dword [ebp - 0x280]
push eax
push dword [ebp - 0x280]
lea eax, [ebp - 0x214]
push eax
call fcn.00449e71
add esp, 0xc
lea eax, [ebp - 0x210]
lea edi, [ebp - 0x248]
mov byte [ebp - 0x210], bl
call fcn.0040bb50
push str.PostStatusUrl
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 1
call fcn.00432cac
mov eax, dword [ebp - 0x240]
sub eax, dword [ebp - 0x244]
push eax
push dword [ebp - 0x244]
lea eax, [ebp - 0x210]
push eax
call fcn.00449e71
add esp, 0xc
mov ebx, 0x479ca4
push ebx
lea eax, [ebp - 0x90]
push eax
call esi
lea eax, [ebp - 0x90]
lea edi, [ebp - 0x25c]
call fcn.0040bb50
push str.InstalledJREVersion
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 2
call fcn.00432cac
mov eax, dword [ebp - 0x254]
sub eax, dword [ebp - 0x258]
push eax
push dword [ebp - 0x258]
lea eax, [ebp - 0x90]
push eax
call fcn.00449e71
add esp, 0xc
push ebx
lea eax, [ebp - 0x110]
push eax
call esi
lea eax, [ebp - 0x110]
lea edi, [ebp - 0x270]
call fcn.0040bb50
push str.NewJREVersion
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 3
call fcn.00432cac
mov eax, dword [ebp - 0x268]
sub eax, dword [ebp - 0x26c]
push eax
push dword [ebp - 0x26c]
lea eax, [ebp - 0x110]
push eax
call fcn.00449e71
add esp, 0xc
push 0
lea esi, [ebp - 0x298]
call fcn.00449e71
push str.UpdateDetected
lea eax, [ebp - 0x234]
push eax
mov edi, esi
mov byte [ebp - 4], 4
call fcn.00432cac
mov ebx, eax
mov esi, str.SendUDPing
push esi
lea eax, [ebp - 0x234]
push eax
call fcn.00432cac
test ebx, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jne 0x40dcb7
xor ecx, ecx
cmp eax, ecx
jne 0x40dcb7
push ecx
push ecx
push ecx
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x479cdc
lea ecx, [ebp - 0x210]
call fcn.00410eb6
add esp, 0x1c
test eax, eax
je 0x40dcb7
mov edi, dword [ebp - 0x218]
push str.UpdateDetected
push edi
mov dword [ebp - 0x230], edi
call ebx
push esi
push edi
call ebx
push str.UpdAvailElapsed
lea eax, [ebp - 0x234]
push eax
lea edi, [ebp - 0x298]
call fcn.00432cac
mov esi, eax
push str.SendUAPing
lea eax, [ebp - 0x234]
push eax
call fcn.00432cac
test esi, esi
jne 0x40dd80
test eax, eax
jne 0x40dd80
push eax
lea esi, [ebp - 0x2ac]
call fcn.00449e71
mov esi, str.UpdAvailNotifyCnt
push esi
lea eax, [ebp - 0x234]
push eax
lea edi, [ebp - 0x2ac]
mov byte [ebp - 4], 5
call fcn.00432cac
mov eax, dword [ebp - 0x2a8]
movzx eax, byte [eax]
push 0
push eax
push 0
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x4791d0
lea ecx, [ebp - 0x210]
call fcn.00410eb6
add esp, 0x1c
test eax, eax
je 0x40dd75
push esi
mov esi, dword [ebp - 0x218]
push esi
call ebx
push str.UpdAvailNotifyTime
push esi
call ebx
push str.UpdAvailElapsed
push esi
call ebx
push str.SendUAPing
push esi
call ebx
lea esi, [ebp - 0x2a8]
call fcn.0040aac1
lea esi, [ebp - 0x234]
call fcn.00432c60
lea esi, [ebp - 0x294]
call fcn.0040aac1
lea esi, [ebp - 0x26c]
call fcn.0040aac1
lea esi, [ebp - 0x258]
call fcn.0040aac1
lea esi, [ebp - 0x244]
call fcn.0040aac1
lea esi, [ebp - 0x280]
call fcn.0040aac1
xor ebx, ebx
mov dword [0x499f70], ebx
xor eax, eax
call fcn.00451740
ret 4