Function at 0x4a8241a0
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4a8fdee0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
push 0xac
lea eax, [ebp - 0x1e8]
push edi
push eax
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x204], edi
call fcn.4a897a16
push 0x2c
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.4a897a16
push 0x2c
lea eax, [ebp - 0x138]
push edi
push eax
call fcn.4a897a16
add esp, 0x24
lea eax, [ebp - 0x1e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, dword [ebp - 0x1e8]
movq xmm0, qword [ebp - 0x1a4]
mov dword [ebp - 0x10c], eax
movq qword [ebp - 0x100], xmm0
movq xmm0, qword [ebp - 0x19c]
lea eax, [ebp - 0x1f0]
push eax
push 0xffffffffffffffff
movq qword [ebp - 0xf8], xmm0
movq xmm0, qword [ebp - 0x150]
lea eax, [ebp - 0x1e4]
push eax
movq qword [ebp - 0xf0], xmm0
movq xmm0, qword [ebp - 0x148]
lea eax, [ebp - 0x204]
push eax
movq qword [ebp - 0xe8], xmm0
xorps xmm0, xmm0
lea eax, [ebp - 0xe0]
push 0x28
push eax
movdqa xmmword [ebp - 0x60], xmm0
movdqa xmmword [ebp - 0x50], xmm0
movq qword [ebp - 0x40], xmm0
call sym.icuuc51.dll_k_strFromWCS_51
push dword [ebp - 0x204]
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x60]
push eax
call sym.icuuc51.dll_k_austrncpy_51
add esp, 0x24
mov byte [ebp - 0x2c], 0
push 0x10
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
push edi
push 3
lea ecx, [ebp - 0x210]
push ecx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_GetGeoInfoA]
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x1f0]
push eax
push str.windowsZones
push edi
call sym.icuuc51.dll_kres_openDirect_51
mov esi, eax
lea eax, [ebp - 0x1f0]
push eax
push esi
push str.mapTimezones
push esi
mov dword [ebp - 0x1fc], esi
call sym.icuuc51.dll_kres_getByKey_51
add esp, 0x1c
cmp dword [ebp - 0x1f0], edi
jg 0x4a8245b0
push esi
call sym.icuuc51.dll_kres_hasNext_51
add esp, 4
test al, al
je 0x4a824564
lea eax, [ebp - 0x1f0]
push eax
push 0
push esi
mov byte [ebp - 0x1e9], 0
call sym.icuuc51.dll_kres_getNextResource_51
add esp, 0xc
cmp dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1f8], eax
jg 0x4a824564
push eax
call sym.icuuc51.dll_kres_getKey_51
mov edi, eax
lea eax, [ebp - 0x208]
push edi
push eax
mov dword [ebp - 0x1f4], 0x2c
call fcn.4a8240e0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4a82439f
lea eax, [ebp - 0x1f4]
push eax
lea eax, [ebp - 0x138]
push eax
push esi
push esi
push 0x4a8a6668
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4a82453a
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x104], eax
lea ecx, [ebp - 0x10c]
lea edx, [ebp - 0x138]
mov esi, 0x28
lea esp, [esp]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4a82453a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4a8243e0
cmp dword [ebp - 0x214], 0
je 0x4a824427
lea eax, [ebp - 0x1f0]
push eax
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x1f8]
call sym.icuuc51.dll_kres_getStringByKey_51
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4a824454
lea eax, [ebp - 0x1f0]
push eax
lea eax, [ebp - 0x200]
push eax
push 0x4a8a6788
push dword [ebp - 0x1f8]
mov dword [ebp - 0x1f0], 0
call sym.icuuc51.dll_kres_getStringByKey_51
add esp, 0x10
mov esi, eax
cmp dword [ebp - 0x1f0], 0
jg 0x4a82453a
xorps xmm0, xmm0
lea eax, [ebp - 0x20c]
push edi
push eax
movdqa xmmword [ebp - 0x90], xmm0
movdqa xmmword [ebp - 0x80], xmm0
movq qword [ebp - 0x70], xmm0
mov dword [ebp - 0x1f4], 0x28
call fcn.4a8240e0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4a8244b9
lea eax, [ebp - 0x1f4]
push eax
lea eax, [ebp - 0x90]
push eax
push edi
push edi
push 0x4a8a666c
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x4a824504
lea ecx, [ebp - 0x90]
lea eax, [ebp - 0x60]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4a8244f2
test dl, dl
je 0x4a8244ee
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4a8244f2
add eax, 2
add ecx, 2
test dl, dl
jne 0x4a8244d2
xor eax, eax
jmp 0x4a8244f7
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4a824504
mov byte [ebp - 0x1e9], 1
jmp 0x4a82450a
cmp byte [ebp - 0x2c], 0
jne 0x4a82453a
movzx eax, word [esi]
xor ecx, ecx
test ax, ax
je 0x4a824535
cmp ax, 0x20
je 0x4a82452c
mov al, byte [esi]
add esi, 2
mov byte [ebp + ecx - 0x2c], al
movzx eax, word [esi]
inc ecx
test ax, ax
jne 0x4a824514
cmp ecx, 0x28
jae 0x4a8245ce
mov byte [ebp + ecx - 0x2c], 0
push dword [ebp - 0x1f8]
call sym.icuuc51.dll_kres_close_51
mov esi, dword [ebp - 0x1fc]
add esp, 4
cmp byte [ebp - 0x1e9], 0
jne 0x4a824564
cmp dword [ebp - 0x1f0], 0
jle 0x4a824317
cmp byte [ebp - 0x2c], 0
je 0x4a8245ae
lea ecx, [ebp - 0x2c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a824570
sub ecx, edx
push 1
lea eax, [ecx + 1]
push eax
mov dword [ebp - 0x200], ecx
call sym.icuuc51.dll_kprv_calloc_51
mov edi, eax
add esp, 8
test edi, edi
je 0x4a8245b0
lea ecx, [ebp - 0x2c]
mov edx, edi
mov eax, ecx
sub edx, eax
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx + ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x4a8245a0
jmp 0x4a8245b0
xor edi, edi
push esi
call sym.icuuc51.dll_kres_close_51
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.4a897a01
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.4a897d84
int3