Function at 0x1002dfb0
Capabilities:
Check os version
Delete file
Delete registry value
Get common file path
Get geographical location
Parse url
Query or enumerate registry key

Disassembly:
mov eax, 0x1450
call fcn.1003baf0
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x144c], eax
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x400
push eax
lea eax, [esp + 0x460]
push eax
push str.LocalFileName
push 0
call fcn.1002ed20
mov ebp, dword [sym.imp.kernel32.dll_DeleteFileW]
add esp, 0x10
test eax, eax
je 0x1002e00b
cmp dword [esp + 0x14], 0
je 0x1002e00b
lea eax, [esp + 0x45c]
push eax
call ebp
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x14]
push eax
push 0x201
push 0
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push SysReAllocString
mov dword [esp + 0x24], 0x200
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1002e25a
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x58]
push eax
push str.VersionXmlURL
push dword [esp + 0x20]
call fcn.1002ed20
add esp, 0x10
mov edi, eax
push dword [esp + 0x14]
call ebx
xor edx, edx
nop dword [eax]
nop dword [eax + eax]
movzx ecx, word [esp + edx + 0x54]
lea edx, [edx + 2]
mov word [esp + edx + 0x45a], cx
test cx, cx
jne 0x1002e070
test edi, edi
je 0x1002e25a
cmp dword [esp + 0x10], 0
jbe 0x1002e25a
xorps xmm0, xmm0
mov dword [esp + 0x18], 0x3c
xor eax, eax
movlpd qword [esp + 0x1c], xmm0
mov word [esp + 0x54], ax
lea ecx, [esp + 0x45c]
lea eax, [esp + 0xc5c]
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x2c], xmm0
lea edx, [ecx + 2]
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x4c], xmm0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0x400
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e0f0
lea eax, [esp + 0x18]
sub ecx, edx
push eax
push 0
sar ecx, 1
lea eax, [esp + 0x464]
push ecx
push eax
call dword [sym.imp.wininet.dll_InternetCrackUrlW]
test eax, eax
je 0x1002e151
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x258]
push eax
push 0
lea eax, [esp + 0xc68]
push 0
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath]
lea eax, [esp + 0x268]
push 0x10048ea8
push eax
call sub.VCRUNTIME140.dll_wcsstr
add esp, 0x1c
test eax, eax
je 0x1002e1ad
xor esi, esi
lea ecx, [esp + 0x45c]
cmp word [esp + 0x45c], si
je 0x1002e196
mov edi, dword [sym.imp.USER32.dll_CharNextW]
nop word [eax + eax]
movzx edx, word [ecx]
cmp edx, 0x20
je 0x1002e17d
cmp edx, 9
jne 0x1002e184
push ecx
call edi
mov ecx, eax
jmp 0x1002e170
mov eax, esi
add ecx, 2
shl esi, 5
sub esi, eax
add esi, edx
cmp word [ecx], 0
jne 0x1002e170
push esi
lea eax, [esp + 0x258]
push 0x10048eac
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x45c]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
lea edx, [esp + 0x254]
mov esi, edx
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1002e1d0
lea edi, [esp + 0x45c]
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1002e1f0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x54]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1002e210
lea edi, [esp + 0x45c]
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1002e230
mov ecx, edx
lea eax, [esp + 0x45c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call ebp
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x10]
push eax
push 0x2001f
push 0
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1002e384
push str.LocalFileName
push dword [esp + 0x14]
call ebp
push str.InstallOptions
push dword [esp + 0x14]
call ebp
push str.UpdateDescription
push dword [esp + 0x14]
call ebp
push str.UpdateTitle1
push dword [esp + 0x14]
call ebp
push str.UpdateTitle2
push dword [esp + 0x14]
call ebp
push str.UpdateMoreInfoUrl
push dword [esp + 0x14]
call ebp
push str.BalloonTitle
push dword [esp + 0x14]
call ebp
push str.BalloonTip
push dword [esp + 0x14]
call ebp
push str.DlgCaption
push dword [esp + 0x14]
call ebp
push str.MoreInfoTxt
push dword [esp + 0x14]
call ebp
push str.PreDownld
push dword [esp + 0x14]
call ebp
push str.UrlInfo
push dword [esp + 0x14]
call ebp
push str.NumTries
push dword [esp + 0x14]
call ebp
push str.LastUDCheckTime
push dword [esp + 0x14]
call ebp
push str.VersionXmlChecksum
push dword [esp + 0x14]
call ebp
push str.Country
push dword [esp + 0x14]
call ebp
push pe_nt_image_headers32
lea eax, [esp + 0x5c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x54], 0x114
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.kernel32.dll_GetVersionExW]
cmp dword [esp + 0x64], 2
jne 0x1002e37e
mov eax, dword [esp + 0x58]
cmp eax, 6
je 0x1002e373
cmp eax, 5
jne 0x1002e37e
cmp dword [esp + 0x5c], 1
jne 0x1002e37e
push str.TransferJobID
push dword [esp + 0x14]
call ebp
push dword [esp + 0x10]
call ebx
call fcn.100305b0
test eax, eax
je 0x1002e3c3
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0x2021f
push 0
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1002e3f9
push str.PreDownldStatus
push eax
call ebp
push dword [esp + 0x10]
jmp 0x1002e3f7
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0x2021f
push 0
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1002e3f9
push str.PreDownldStatus
push eax
call ebp
push dword [esp + 0x14]
call ebx
push 0x400
lea eax, [esp + 0x460]
xor ebx, ebx
push eax
push ebx
push VariantInit
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x1002e4b7
nop dword [eax]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0x20019
push 0
lea eax, [esp + 0x468]
inc ebx
push eax
push VariantInit
call esi
test eax, eax
jne 0x1002e496
mov edi, dword [esp + 0x14]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 0x2021f
push 0
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push edi
call esi
test eax, eax
jne 0x1002e483
mov esi, dword [esp + 0x10]
push str.VersionXmlURL
push esi
call ebp
test esi, esi
je 0x1002e483
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x1002e489
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x1002e490
push edi
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0x400
lea eax, [esp + 0x460]
push eax
push ebx
push VariantInit
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x1002e420
mov ecx, dword [esp + 0x145c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b4ee
add esp, 0x1450
ret