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

Disassembly:
push 0x2a0
mov eax, 0x46f081
call fcn.004510b2
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.0040fa62
pop ecx
pop ecx
test eax, eax
je 0x40d664
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x478a4c
lea eax, [ebp - 0x214]
push eax
call esi
lea eax, [ebp - 0x214]
lea edi, [ebp - 0x284]
call fcn.0040b391
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.0042f05e
mov eax, dword [ebp - 0x27c]
sub eax, dword [ebp - 0x280]
push eax
push dword [ebp - 0x280]
lea eax, [ebp - 0x214]
push eax
call fcn.00448fb0
add esp, 0xc
lea eax, [ebp - 0x210]
lea edi, [ebp - 0x248]
mov byte [ebp - 0x210], bl
call fcn.0040b391
push str.PostStatusUrl
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 1
call fcn.0042f05e
mov eax, dword [ebp - 0x240]
sub eax, dword [ebp - 0x244]
push eax
push dword [ebp - 0x244]
lea eax, [ebp - 0x210]
push eax
call fcn.00448fb0
add esp, 0xc
mov ebx, 0x478c3c
push ebx
lea eax, [ebp - 0x90]
push eax
call esi
lea eax, [ebp - 0x90]
lea edi, [ebp - 0x25c]
call fcn.0040b391
push str.InstalledJREVersion
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 2
call fcn.0042f05e
mov eax, dword [ebp - 0x254]
sub eax, dword [ebp - 0x258]
push eax
push dword [ebp - 0x258]
lea eax, [ebp - 0x90]
push eax
call fcn.00449520
add esp, 0xc
push ebx
lea eax, [ebp - 0x110]
push eax
call esi
lea eax, [ebp - 0x110]
lea edi, [ebp - 0x270]
call fcn.0040b391
push str.NewJREVersion
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 3
call fcn.0042f05e
mov eax, dword [ebp - 0x268]
sub eax, dword [ebp - 0x26c]
push eax
push dword [ebp - 0x26c]
lea eax, [ebp - 0x110]
push eax
call fcn.00449520
add esp, 0xc
push 0
lea esi, [ebp - 0x298]
call fcn.0040b364
push str.UpdateDetected
lea eax, [ebp - 0x234]
push eax
mov edi, esi
mov byte [ebp - 4], 4
call fcn.0042f05e
mov ebx, eax
mov esi, str.SendUDPing
push esi
lea eax, [ebp - 0x234]
push eax
call fcn.0042f05e
test ebx, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jne 0x40d557
xor ecx, ecx
cmp eax, ecx
jne 0x40d557
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 0x478c74
lea ecx, [ebp - 0x210]
call fcn.0041078f
add esp, 0x1c
test eax, eax
je 0x40d557
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.0042f05e
mov esi, eax
push str.SendUAPing
lea eax, [ebp - 0x234]
push eax
call fcn.0042f05e
test esi, esi
jne 0x40d620
test eax, eax
jne 0x40d620
push eax
lea esi, [ebp - 0x2ac]
call fcn.0040b364
mov esi, str.UpdAvailNotifyCnt
push esi
lea eax, [ebp - 0x234]
push eax
lea edi, [ebp - 0x2ac]
mov byte [ebp - 4], 5
call fcn.0042f05e
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 0x478218
lea ecx, [ebp - 0x210]
call fcn.0041078f
add esp, 0x1c
test eax, eax
je 0x40d615
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.0043df69
lea esi, [ebp - 0x234]
call fcn.0042f012
lea esi, [ebp - 0x294]
call fcn.0043df69
lea esi, [ebp - 0x26c]
call fcn.0043df69
lea esi, [ebp - 0x258]
call fcn.0043df69
lea esi, [ebp - 0x244]
call fcn.0043df69
lea esi, [ebp - 0x280]
call fcn.0043df69
xor ebx, ebx
mov dword [0x499110], ebx
xor eax, eax
call fcn.00451135
ret 4