Function at 0x47b290
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [0x50dc10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd8], eax
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xd4], edi
test eax, eax
je 0x47b73d
push ebx
push esi
xor ebx, ebx
lea eax, [ebx + 0x47]
lea ecx, [ebx + 0x46]
movd xmm3, eax
lea edx, [ebx + 0x45]
movd xmm0, ecx
lea esi, [ebx + 0x44]
movd xmm1, edx
movd xmm2, esi
punpckldq xmm2, xmm0
punpckldq xmm1, xmm3
punpckldq xmm2, xmm1
movups xmmword [ebp + ebx*4 - 0x188], xmm2
add ebx, 4
cmp ebx, 0xc
jl 0x47b2c2
mov dword [ebp - 0x158], 0x100f
xor ebx, ebx
lea eax, [ebx + 0x3b]
lea ecx, [ebx + 0x3a]
movd xmm3, eax
lea edx, [ebx + 0x39]
movd xmm0, ecx
lea esi, [ebx + 0x38]
movd xmm1, edx
movd xmm2, esi
punpckldq xmm2, xmm0
punpckldq xmm1, xmm3
punpckldq xmm2, xmm1
movups xmmword [ebp + ebx*4 - 0x154], xmm2
add ebx, 4
cmp ebx, 0xc
jl 0x47b306
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0xcc]
push 0xc8
push eax
push 0x100c
push edi
mov dword [ebp - 0x124], 0x100e
mov dword [ebp - 0x120], 0x37
mov dword [ebp - 0x11c], 0x31
mov dword [ebp - 0x118], 0x32
mov dword [ebp - 0x114], 0x33
mov dword [ebp - 0x110], 0x34
mov dword [ebp - 0x10c], 0x35
mov dword [ebp - 0x108], 0x36
mov dword [ebp - 0x104], 0x30
mov dword [ebp - 0x100], 0x2a
mov dword [ebp - 0xfc], 0x2b
mov dword [ebp - 0xf8], 0x2c
mov dword [ebp - 0xf4], 0x2d
mov dword [ebp - 0xf0], 0x2e
mov dword [ebp - 0xec], 0x2f
call esi
lea eax, [ebp - 0xcc]
push eax
call sub.api_ms_win_crt_convert_l1_1_0.dll_atoi
mov ecx, dword [ebp - 0xd8]
add esp, 4
mov dword [ecx + 0xb4], eax
xor ecx, ecx
mov dword [ebp - 0xe0], ecx
imul eax, ecx, 0x34
mov dword [ebp - 0xdc], 0
lea eax, [ebp + eax - 0x188]
mov dword [ebp - 0xd0], eax
nop dword [eax + eax]
mov eax, dword [eax]
push 0
push 0
push eax
push edi
test ecx, ecx
jne 0x47b476
call esi
mov edi, eax
lea ecx, [edi + 3]
push ecx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
lea ecx, [edi + 1]
mov edi, dword [ebp - 0xd4]
mov ebx, eax
push ecx
mov ecx, dword [ebp - 0xd0]
push ebx
mov eax, dword [ecx]
push eax
push edi
call esi
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ebp - 0xd8]
mov dword [edx + ecx*4], ebx
jmp 0x47b4af
call esi
mov edi, eax
lea ecx, [edi + 3]
push ecx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
lea ecx, [edi + 1]
mov edi, dword [ebp - 0xd4]
mov ebx, eax
push ecx
mov ecx, dword [ebp - 0xd0]
push ebx
mov eax, dword [ecx]
push eax
push edi
call esi
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ebp - 0xd8]
mov dword [edx + ecx*4 + 0x34], ebx
mov eax, dword [ebp - 0xd0]
inc ecx
add eax, 4
mov dword [ebp - 0xdc], ecx
cmp ecx, 0xd
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xe0]
jl 0x47b430
inc ecx
mov dword [ebp - 0xe0], ecx
cmp ecx, 2
jl 0x47b411
xor ecx, ecx
lea eax, [edx + 0x84]
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xe4], eax
nop dword [eax + eax]
mov dword [ebp - 0xe0], eax
lea eax, [ecx*8]
sub eax, ecx
mov dword [ebp - 0xe8], 7
lea eax, [ebp + eax*4 - 0x120]
mov dword [ebp - 0xd0], eax
mov eax, dword [eax]
push 0
push 0
push eax
push edi
test ecx, ecx
jne 0x47b566
call esi
mov edi, eax
lea ecx, [edi + 3]
push ecx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
lea ecx, [edi + 1]
mov edi, dword [ebp - 0xd4]
mov ebx, eax
push ecx
mov ecx, dword [ebp - 0xd0]
push ebx
mov eax, dword [ecx]
push eax
push edi
call esi
mov ecx, dword [ebp - 0xe0]
mov dword [ecx - 0x1c], ebx
jmp 0x47b597
call esi
mov edi, eax
lea ecx, [edi + 3]
push ecx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
lea ecx, [edi + 1]
mov edi, dword [ebp - 0xd4]
mov ebx, eax
push ecx
mov ecx, dword [ebp - 0xd0]
push ebx
mov eax, dword [ecx]
push eax
push edi
call esi
mov ecx, dword [ebp - 0xe0]
mov dword [ecx], ebx
mov eax, dword [ebp - 0xd0]
add ecx, 4
add eax, 4
mov dword [ebp - 0xe0], ecx
sub dword [ebp - 0xe8], 1
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xd0], eax
jne 0x47b526
mov eax, dword [ebp - 0xe4]
inc ecx
mov dword [ebp - 0xdc], ecx
cmp ecx, 2
jl 0x47b500
push 0
push 0
push 0x1f
push edi
call esi
mov edi, eax
lea ecx, [edi + 3]
push ecx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
lea ecx, [edi + 1]
mov edi, dword [ebp - 0xd4]
mov ebx, eax
push ecx
push ebx
push 0x1f
push edi
call esi
mov ecx, dword [ebp - 0xd8]
push 0
push 0
push 0x20
push edi
mov dword [ecx + 0xa8], ebx
call esi
mov edi, eax
lea ecx, [edi + 3]
push ecx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
lea ecx, [edi + 1]
mov edi, dword [ebp - 0xd4]
mov ebx, eax
push ecx
push ebx
push 0x20
push edi
call esi
mov eax, dword [ebp - 0xd8]
push 0
push 0
push 0x1003
push edi
mov dword [eax + 0xac], ebx
call esi
mov edi, eax
lea ecx, [edi + 3]
push ecx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
lea ecx, [edi + 1]
mov edi, dword [ebp - 0xd4]
mov ebx, eax
push ecx
push ebx
push 0x1003
push edi
call esi
mov eax, dword [ebp - 0xd8]
push 0
push 0
push 0x28
mov dword [eax + 0xb0], ebx
mov ebx, edi
push ebx
call esi
mov edi, eax
lea ecx, [edi + 3]
push ecx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
mov dword [ebp - 0xe4], eax
lea ecx, [edi + 1]
mov edi, eax
push ecx
push edi
push 0x28
push ebx
call esi
mov eax, dword [ebp - 0xd8]
add eax, 0xa0
mov dword [eax], edi
test edi, edi
je 0x47b6be
cmp byte [edi], 0
jne 0x47b6dd
push 0x8a1
push str.DateTime.c
push sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
push 0
push 0x4e4944
push eax
call fcn.0047ce40
add esp, 0x18
push 0
push 0
push 0x29
push ebx
call esi
mov edi, eax
lea ecx, [edi + 3]
push ecx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
mov dword [ebp - 0xe4], eax
lea ecx, [edi + 1]
mov edi, eax
push ecx
push edi
push 0x29
push ebx
call esi
mov eax, dword [ebp - 0xd8]
add eax, 0xa4
pop esi
pop ebx
mov dword [eax], edi
test edi, edi
je 0x47b71e
cmp byte [edi], 0
jne 0x47b73d
push 0x8a4
push str.DateTime.c
push sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
push 0
push 0x4e4948
push eax
call fcn.0047ce40
add esp, 0x18
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004e2538
mov esp, ebp
pop ebp
ret