Function at 0x416c94
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
test eax, eax
je 0x416cb8
mov dword [0x41f069], ecx
mov dword [0x41f0a1], 0x10355
mov byte [0x41f078], 0xa
mov edi, 0x73
xchg dword [0x41f0e7], ebx
xchg dword [0x41f03e], edi
cmp esi, 0xffffffff
je 0x416cd4
mov dword [0x41f062], ebx
inc byte [0x41f03b]
mov dword [0x41f0ef], ecx
mov dword [esp - 0x20], ebx
mov dword [0x41f06d], esi
mov dword [0x41f01b], ebx
lea edx, [0x41f105]
sub dword [edx + 0x1c], 0xe9
mov edi, dword [esp + 8]
dec dword [0x41f089]
mov dword [ebp - 4], 0x10139
mov dword [ebp - 8], 0x19349
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindow
test eax, eax
je 0x416d45
mov dword [0x41f05e], esi
add edx, 0x82
mov dword [esp - 0x12], eax
mov ebx, 0x171
mov dword [0x41f016], 0x15a79
mov dword [0x41f104], 0x1447a
cmp byte [ebp + 0x28], ah
jle 0x416d66
mov dword [0x41f093], ecx
mov dword [0x41f079], eax
mov dword [0x41f09a], ebx
mov dword [0x41f041], ecx
mov dword [0x41f07b], ebx
mov word [0x41f108], 0x2b0
mov dword [ebp - 0x10], 0x1fd16
mov eax, 0x417300
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x12812
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jne 0x416dbc
mov dword [0x41f09e], esi
sub edx, 0xe7
mov dword [0x41f092], esi
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_SetThreadLocale
test eax, eax
je 0x416de5
mov dword [0x41f02e], ebx
mov esi, dword [esp + 4]
mov dword [0x41f02a], edx
mov dword [0x41f013], edi
and esi, dword [0x41f035]
call fcn.004018ec
mov dword [0x41f0b6], edx
cmp ecx, 0xffffffff
je 0x416e07
sub dword [0x41f0d7], esi
mov dword [0x41f097], eax
add edi, dword [0x41f067]
mov dword [0x41f062], ebx
add dword [0x41f081], esi
mov dword [0x41f025], edx
mov dword [ebp - 0x20], 0x12b57
mov dword [ebp - 0x24], 0x16962
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.user32.dll_GetWindow
test eax, eax
jne 0x416e74
mov dword [0x41f0c6], 0x1657c
cmp dword [0x41f03e], 0
je 0x416e68
mov dword [0x41f019], eax
mov ebx, 0x26
sub dword [0x41f0b2], esi
mov dword [0x41f03f], ecx
mov dword [0x41f107], edx
mov dword [0x41f044], ecx
mov dword [0x41f0c2], eax
mov dword [0x41f0c5], 0x17f07
add ecx, 0x9a
mov ecx, ebx
and dword [0x41f05a], eax
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_SetThreadLocale
test eax, eax
je 0x416ecf
add dword [0x41f086], ecx
mov dword [0x41f099], edx
mov dword [0x41f05c], 0x170b1
mov eax, 0x5f
test ch, ch
je 0x416eca
lea esi, [0x41f094]
mov dword [esi], 0xa6
mov dword [0x41f026], edi
mov eax, 0x1eb
call fcn.00402160
mov dword [ebp - 0x30], 0x1001c
mov eax, 0x41730c
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0x1f256
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jne 0x416f2c
cmp word [0x41f083], 0
jne 0x416f1b
mov ecx, dword [0x41f0b9]
mov dword [0x41f105], ebx
jmp 0x416f20
mov ecx, 0x1fd
mov dword [0x41f02e], esi
mov dword [0x41f0db], edi
call fcn.004017fc
mov word [0x41f0b3], 0x349d
mov word [0x41f013], 0xd0a6
mov dword [0x41f077], eax
mov eax, 0x417310
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], 0xffffffff
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x3c]
push eax
call sub.advapi32.dll_ObjectCloseAuditAlarmW
call fcn.004017fc
lea edx, [0x41f072]
and dword [edx + 0x1c], ecx
mov edi, dword [0x41f049]
mov dword [0x41f0bc], esi
inc byte [0x41f066]
mov dword [ebp - 0x48], 0x1d2f9
mov dword [ebp - 0x4c], 0x12e18
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.user32.dll_GetWindow
lea eax, [0x41f0aa]
mov dword [eax + 0xc], edx
inc esi
mov dword [esp - 0x28], ebx
mov dword [0x41f0a7], esi
mov dword [0x41f108], edx
mov dword [0x41f073], 0x163c9
mov dword [0x41f027], 0x12bbe
push edx
mov eax, 0x41f040
call fcn.00402160
mov byte [ebp - 0x99], 0
mov dword [ebp - 0x50], 0x199bd
mov dword [ebp - 0x54], 0x1caf0
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.user32.dll_GetWindow
test eax, eax
jne 0x417021
lea eax, [0x41f0bb]
add dword [eax], edx
mov ebx, 0x29
mov dword [0x41f0f7], eax
mov dword [0x41f08f], ecx
mov ecx, 0x34
add dword [0x41f045], eax
mov byte [0x41f0d9], 0xa
mov dword [0x41f0ed], esi
mov dword [0x41f03b], edx
inc byte [ebp - 0x99]
cmp byte [ebp - 0x99], 2
jne 0x416fe9
mov dword [ebp - 0x58], 0x179bb
mov dword [ebp - 0x5c], 0x1abb3
mov eax, dword [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x58]
push eax
call sub.user32.dll_GetWindow
mov dword [0x41f0de], edx
mov dword [0x41f090], esi
xchg dword [0x41f052], ecx
mov dword [0x41f054], ebx
mov byte [ebp - 0x99], 0
mov dword [0x41f0c2], ecx
mov dword [0x41f026], edi
test esi, esi
je 0x4170b1
mov byte [0x41f032], 0xe0
mov dword [0x41f088], ecx
inc byte [0x41f0b9]
mov dword [0x41f0b7], eax
mov dword [0x41f0e2], edx
mov dword [0x41f01b], ecx
mov dword [0x41f0cb], eax
mov dword [0x41f099], edx
mov eax, 0x417334
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x64], eax
xor eax, eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x60]
push eax
call sub.advapi32.dll_ObjectCloseAuditAlarmW
test eax, eax
jne 0x417106
mov byte [0x41f0f5], 0x61
mov word [0x41f101], 0xe161
mov dword [0x41f04f], esi
inc byte [ebp - 0x99]
cmp byte [ebp - 0x99], 1
jne 0x417088
mov dword [0x41f061], ebx
mov dword [esp - 0x28], ecx
mov dword [0x41f0c5], 0x145a0
mov dword [0x41f0b9], edx
mov eax, 0x417354
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [ebp - 0x70], eax
xor eax, eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x6c]
push eax
call sub.advapi32.dll_ObjectCloseAuditAlarmW
test eax, eax
jne 0x41716d
mov dword [0x41f03f], esi
mov word [0x41f06f], 0x3b5d
mov dword [esp - 0x24], ecx
mov dword [ebp - 0x78], 0x19ea8
mov dword [ebp - 0x7c], 0x1f90c
mov eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x78]
push eax
call sub.user32.dll_GetWindow
test eax, eax
je 0x4171a2
mov edx, edi
mov dword [0x41f093], 0x1609f
mov dword [0x41f0c1], 0x15af0
xchg dword [0x41f0f8], eax
mov dword [esp - 4], esi
mov word [0x41f0c8], 0xb58f
add dword [0x41f0b8], ecx
mov dword [ebp - 0x80], 0x19b14
mov dword [ebp - 0x84], 0x1d3bd
mov eax, dword [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x80]
push eax
call sub.user32.dll_GetWindow
test eax, eax
je 0x4171fc
mov dword [0x41f104], ebx
mov dword [0x41f0cc], 0x173bc
mov dword [0x41f0d7], eax
mov dword [0x41f08e], edi
call fcn.00401f74
mov byte [0x41f109], 0xd2
mov byte [0x41f03b], 0x2d
mov dword [0x41f092], ecx
push ebx
push 0
call fcn.00402160
mov dword [0x41f0a7], esi
mov dword [0x41f108], edx
mov dword [0x41f073], 0x163c9
mov dword [0x41f027], 0x12bbe
call fcn.00401018
mov dword [ebp - 0x8c], 0x15424
mov eax, 0x417368
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x94], 0x1b936
mov eax, dword [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x88]
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jne 0x41729b
mov byte [0x41f0b9], 0xeb
mov dword [esp - 0x20], eax
mov dword [0x41f0f8], 0x17e4c
mov eax, dword [ebp - 0x98]
push eax
call sub.kernel32.dll_SetThreadLocale
test eax, eax
jne 0x4172c3
mov dword [esp - 0x18], ecx
mov dword [0x41f0cf], 0x116c1
mov dword [0x41f06f], edi
mov dword [esp - 0x20], ebx
call fcn.004018ec
xchg dword [0x41f0f8], eax
mov dword [esp - 4], esi
mov word [0x41f0c8], 0xb58f
add dword [0x41f0b8], ecx
mov eax, 0x41f06c
push 0
push 1
call fcn.00401018
push ecx
push esi
mov edx, 0x41f061
call fcn.00402b64
mov esp, ebp
pop ebp
ret