Function at 0x41ce04
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd8c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41d457
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xb8], 0x20
mov eax, 0x40
call fcn.00403f2c
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
je 0x41d239
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xb0], 1
cmp dword [ebp - 4], 0
jne 0x41ce96
lea eax, [ebp - 0xec]
push eax
call sub.kernel32.dll_GetSystemTime
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xec]
push eax
call sub.kernel32.dll_SystemTimeToFileTime
jmp 0x41ceb9
mov eax, dword [ebp - 4]
mov esi, eax
lea edi, [ebp - 0xdc]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0xa4]
lea eax, [ebp - 0xdc]
call fcn.0041e060
lea edx, [ebp - 0x9c]
lea eax, [ebp - 0xa4]
call fcn.00409efc
lea edx, [ebp - 0xec]
lea eax, [ebp - 0x9c]
call fcn.00409f0c
mov eax, dword [0x436a44]
cmp byte [eax], 0
jne 0x41cfe7
movzx eax, word [ebp - 0xea]
mov dword [ebp - 0x74], eax
movzx eax, word [ebp - 0xe6]
mov dword [ebp - 0x78], eax
movzx eax, word [ebp - 0xec]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 8], 0
jne 0x41cf20
movzx eax, word [ebp - 0xec]
mov ecx, 0x64
xor edx, edx
div ecx
mov dword [ebp - 0x7c], edx
cmp dword [0x442e64], 2
jne 0x41cf4b
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
movzx eax, word [ebp - 0xe6]
mov dword [ebp - 0x7c], eax
movzx eax, word [ebp - 0xea]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x74], eax
jmp 0x41cf68
cmp dword [0x442e64], 1
jne 0x41cf68
movzx eax, word [ebp - 0xe6]
mov dword [ebp - 0x74], eax
movzx eax, word [ebp - 0xea]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x258], eax
mov byte [ebp - 0x254], 0
mov dword [ebp - 0x250], 0x442e44
mov byte [ebp - 0x24c], 0xa
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x248], eax
mov byte [ebp - 0x244], 0
mov dword [ebp - 0x240], 0x442e44
mov byte [ebp - 0x23c], 0xa
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x238], eax
mov byte [ebp - 0x234], 0
lea eax, [ebp - 0x258]
push eax
push 4
mov ecx, 0x41d46c
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xb4]
call fcn.0041a0ec
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x28], eax
jmp 0x41d2e9
xor eax, eax
mov dword [ebp - 0xac], eax
call sub.kernel32.dll_GetUserDefaultLCID
mov dword [ebp - 0x2c], eax
push 0x80
lea eax, [ebp - 0x1ee]
push eax
push 0x1f
mov eax, dword [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jne 0x41d027
mov edx, 0x442f7c
lea eax, [ebp - 0x1ee]
mov ecx, 0x80
call fcn.00419e80
lea eax, [ebp - 0x1ee]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x1ee]
test eax, eax
je 0x41d19c
mov eax, dword [ebp - 0x30]
mov ax, word [eax]
mov word [ebp - 0x32], ax
mov eax, dword [ebp - 0x30]
cmp word [eax], 0x27
jne 0x41d06a
cmp dword [ebp - 0xac], 0
sete al
neg al
sbb eax, eax
mov dword [ebp - 0xac], eax
jmp 0x41d182
cmp dword [ebp - 0xac], 0
jne 0x41d182
cmp word [ebp - 0x32], 0x64
je 0x41d089
cmp word [ebp - 0x32], 0x4d
jne 0x41d182
xor eax, eax
mov dword [ebp - 0x50], eax
inc dword [ebp - 0x50]
add dword [ebp - 0x30], 2
mov eax, dword [ebp - 0x30]
mov ax, word [eax]
cmp ax, word [ebp - 0x32]
je 0x41d08e
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
add eax, eax
mov edx, dword [ebp - 0x30]
sub edx, eax
mov dword [ebp - 0x58], edx
cmp dword [ebp - 0x50], 1
jne 0x41d102
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov ax, word [eax]
mov word [ebp - 0x5e], ax
add dword [ebp - 0x5c], 2
cmp word [ebp - 0x5e], 0
jne 0x41d0c0
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x58]
sar eax, 1
jns 0x41d0e2
adc eax, 0
mov ecx, eax
add ecx, ecx
mov edx, dword [ebp - 0x58]
add edx, 2
mov eax, dword [ebp - 0x58]
call fcn.004040d0
mov eax, dword [ebp - 0x58]
add eax, 4
mov dword [ebp - 0x30], eax
jmp 0x41d186
cmp word [ebp - 0x32], 0x64
jne 0x41d111
xor eax, eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0x50], 3
jg 0x41d124
mov eax, dword [ebp - 0x54]
add eax, eax
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x30], eax
jmp 0x41d186
mov eax, dword [ebp - 0x54]
add eax, eax
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
add eax, eax
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
add eax, 2
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x68]
mov ax, word [eax]
mov word [ebp - 0x6e], ax
add dword [ebp - 0x68], 2
cmp word [ebp - 0x6e], 0
jne 0x41d143
mov eax, dword [ebp - 0x58]
add eax, 6
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x6c]
sar eax, 1
jns 0x41d16e
adc eax, 0
add eax, 2
mov ecx, eax
add ecx, ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x64]
call fcn.004040d0
jmp 0x41d186
add dword [ebp - 0x30], 2
mov eax, dword [ebp - 0x30]
cmp word [eax], 0
jne 0x41d03e
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x3c], eax
call sub.kernel32.dll_GetUserDefaultLCID
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1ee]
push eax
lea eax, [ebp - 0xec]
push eax
push 0
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_GetDateFormatW
test eax, eax
je 0x41d1e8
cmp dword [ebp - 0xb4], 0
jne 0x41d2e9
call sub.kernel32.dll_GetUserDefaultLCID
mov dword [ebp - 0x14], eax
push 0
push 0
lea eax, [ebp - 0x1ee]
push eax
lea eax, [ebp - 0xec]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetDateFormatW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41d28c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
inc eax
mov edx, eax
add edx, edx
lea eax, [ebp - 0xb4]
call fcn.00403f60
cmp dword [ebp - 0xb4], 0
je 0x41d24d
xor eax, eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x84], 8
jmp 0x41d2ae
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xb8], eax
call sub.kernel32.dll_GetUserDefaultLCID
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x1ee]
push eax
lea eax, [ebp - 0xec]
push eax
push 0
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GetDateFormatW
test eax, eax
jne 0x41d2e9
xor eax, eax
mov dword [ebp - 0x8c], eax
call sub.kernel32.dll_GetLastError_2
mov edx, dword [0x436c7c]
mov dword [edx], eax
mov eax, dword [0x436c7c]
mov eax, dword [eax]
mov dword [ebp - 0x84], eax
push 0xffffffffffffffff
lea edx, [ebp - 0x25c]
mov eax, dword [ebp - 0x84]
call fcn.00416548
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x25c]
xor edx, edx
call fcn.0042a3c8
mov eax, dword [ebp - 0xb4]
call fcn.00403f48
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x41d43e
movzx eax, word [ebp - 0xe8]
call fcn.0042aed8
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x230]
mov ecx, 0x20
mov edx, dword [ebp - 0x44]
call fcn.00419e80
cmp dword [ebp - 0x28], 0
je 0x41d3aa
cmp dword [ebp - 0xb0], 0
je 0x41d364
cmp dword [ebp - 8], 1
jne 0x41d364
lea edx, [ebp - 0x230]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
call fcn.00419e80
mov ecx, 0x41d490
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
call fcn.0041cdc4
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
call fcn.0041cdc4
jmp 0x41d375
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x28]
call fcn.00419e80
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov ax, word [eax]
mov word [ebp - 0x4a], ax
add dword [ebp - 0x48], 2
cmp word [ebp - 0x4a], 0
jne 0x41d37b
mov eax, dword [ebp - 0x28]
add eax, 2
mov edx, dword [ebp - 0x48]
sub edx, eax
sar edx, 1
jns 0x41d3a2
adc edx, 0
mov dword [ebp - 0x10], edx
jmp 0x41d433
cmp dword [ebp - 0xb0], 0
je 0x41d40b
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x26c], eax
mov byte [ebp - 0x268], 0xa
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0xa
lea edx, [ebp - 0x26c]
mov eax, 0x41d494
mov ecx, 1
call fcn.00423c4c
mov dword [ebp - 0x10], eax
jmp 0x41d433
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x274], eax
mov byte [ebp - 0x270], 0xa
lea edx, [ebp - 0x274]
mov eax, 0x41d4a4
xor ecx, ecx
call fcn.00423c4c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xb4]
call fcn.00403f48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d45e
lea eax, [ebp - 0x25c]
call fcn.00406a1c
ret