Function at 0x4796ee
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov ecx, dword [ecx + 0x54]
push ebx
push esi
push edi
xor esi, esi
mov edi, edx
push esi
push esi
push esi
push dword [ebp + 0x10]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], esi
call fcn.00459c46
mov ebx, eax
test ebx, ebx
je 0x479aa5
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0xbc]
push 0x4a493c
mov ecx, ebx
call fcn.0045e7a5
lea ecx, [edi + 0xa4]
mov dword [ebp - 4], ecx
test eax, eax
je 0x479748
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x2c]
push 0x4a4950
mov ecx, ebx
call fcn.0045e7a5
mov dword [ebp + 0x10], eax
test eax, eax
je 0x479a11
lea eax, [edi + 0x2a4]
push str.default
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x479930
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.0043cad2
add eax, 0x10
add edi, 0x54
mov ecx, edi
mov dword [ebp - 4], eax
call fcn.0044ccce
sub eax, 6
je 0x479838
sub eax, 6
je 0x47981f
sub eax, 1
je 0x479806
dec eax
sub eax, 1
jne 0x479882
push 0x1e
push str.Critical_Update
push edi
call dword [sym.imp.msvcrt.dll_memcmp]
add esp, 0xc
test eax, eax
jne 0x4797cd
push 0x46
jmp 0x479881
push 0x1e
push str.Security_Update
push edi
call dword [sym.imp.msvcrt.dll_memcmp]
add esp, 0xc
test eax, eax
jne 0x4797e9
push 0x48
jmp 0x479881
push 0x1e
push str.Software_Update
push edi
call dword [sym.imp.msvcrt.dll_memcmp]
add esp, 0xc
test eax, eax
jne 0x479882
push 0x4a
jmp 0x479881
push 0x1a
push str.Update_Rollup
push edi
call dword [sym.imp.msvcrt.dll_memcmp]
add esp, 0xc
test eax, eax
jne 0x479882
push 0x4c
jmp 0x479881
push 0x18
push str.Service_Pack
push edi
call dword [sym.imp.msvcrt.dll_memcmp]
add esp, 0xc
test eax, eax
jne 0x479882
push 0x49
jmp 0x479881
push 0xc
push str.Hotfix
push edi
call dword [sym.imp.msvcrt.dll_memcmp]
add esp, 0xc
test eax, eax
jne 0x479851
push 0x47
jmp 0x479881
push 0xc
push 0x4a496c
push edi
call dword [sym.imp.msvcrt.dll_memcmp]
add esp, 0xc
test eax, eax
jne 0x47986a
push 0x4b
jmp 0x479881
push 0xc
push str.Driver
push edi
call dword [sym.imp.msvcrt.dll_memcmp]
add esp, 0xc
test eax, eax
jne 0x479882
push 0x4d
pop esi
call fcn.0043d5bb
push eax
lea ecx, [ebp - 8]
call fcn.0043bbe8
test esi, esi
je 0x4798bd
push esi
push dword [ebp + 8]
lea ecx, [ebp - 8]
call fcn.0043c448
test eax, eax
je 0x4798bd
mov edi, dword [ebp - 8]
lea ecx, [edi - 0x10]
call fcn.0043cad2
mov dword [ebp + 8], 1
lea esi, [eax + 0x10]
mov ecx, esi
jmp 0x4798d9
push edi
lea ecx, [ebp - 0x14]
call fcn.0043c2b8
mov edi, dword [ebp - 8]
mov esi, dword [ebp + 0xc]
push 2
mov ecx, dword [eax]
xor eax, eax
mov dword [ebp + 8], eax
pop eax
mov dword [ebp - 0x10], eax
push ecx
push 0x49402c
lea ecx, [ebp - 4]
call fcn.00431ecb
cmp dword [ebp - 0x10], 0
je 0x4798f8
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0043d912
cmp dword [ebp + 8], 0
je 0x479906
lea ecx, [esi - 0x10]
call fcn.0043d912
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
add eax, 0x1cbc
push eax
push 0x4a4a24
call fcn.00431ecb
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp - 4]
push esi
mov eax, dword [ecx]
call dword [eax + 0x2c]
lea ecx, [edi - 0x10]
jmp 0x479a01
lea eax, [edi + 0x8a4]
push str.Microsoft_Windows_Client_LanguagePack_Package
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x479986
push str.Microsoft_Windows_Client_Refresh_LanguagePack_Package
lea eax, [edi + 0x8a4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x479986
push str.Microsoft_Windows_WinPE_LanguagePack_Package
lea eax, [edi + 0x8a4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x479986
mov ecx, dword [ebp + 0x10]
lea edx, [edi + 0x2a4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
jmp 0x479a11
push 0x7e
push esi
push dword [ebp - 4]
mov esi, dword [sym.imp.SHLWAPI.dll_StrRChrW]
call esi
push 0x7e
mov edi, eax
push edi
push dword [ebp - 4]
call esi
add eax, 2
lea ecx, [ebp + 8]
sub edi, eax
sar edi, 1
push edi
push eax
call fcn.0043b8e8
mov esi, dword [ebp + 8]
xor eax, eax
push 0x100
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x214]
push eax
push 2
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x214]
push eax
push str.Windows__s
mov edi, dword [edi]
call sym.Dismx86.exe_DismMultiLanguage
push eax
lea eax, [ebp + 8]
push eax
call fcn.0044af44
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push dword [eax]
call dword [edi + 0x2c]
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.0043d912
lea ecx, [esi - 0x10]
call fcn.0043d912
mov edi, dword [ebp - 0xc]
push 0x4a4a4c
mov ecx, ebx
call fcn.0045e7a5
test eax, eax
je 0x479a2c
mov edx, dword [eax]
lea ecx, [edi + 0x54]
push ecx
mov ecx, eax
call dword [edx + 0x2c]
push 0x4a3e04
mov ecx, ebx
call fcn.0045e7a5
mov esi, eax
test esi, esi
je 0x479a79
xor eax, eax
mov dword [ebp + 0x10], 3
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21c]
push 0x104
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [edi + 0x1cb4]
push eax
call dword [sym.imp.SHLWAPI.dll_SHFormatDateTimeW]
mov eax, dword [esi]
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
push 0x4a35e4
mov ecx, ebx
call fcn.0045e7a5
mov dword [ebp + 0x10], eax
test eax, eax
je 0x479aa3
mov ecx, dword [edi]
mov esi, dword [eax]
push dword [ecx*4 + 0x48f084]
call sym.Dismx86.exe_DismMultiLanguage
mov ecx, dword [ebp + 0x10]
push eax
call dword [esi + 0x2c]
mov esi, ebx
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0043d912
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc