Function at 0x40b880
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov dword [ebp - 0x9c], 0xee03
mov dword [ebp - 0x50], 0x980c
mov dword [ebp - 0x2c], 0x5e15
mov dword [ebp - 0x30], 0x13b88
mov dword [ebp - 4], 0x252a
mov dword [ebp - 0x3c], 0x4ec4
mov dword [ebp - 0x20], 0xc9f
mov dword [ebp - 0xc], 0x11b0
mov dword [ebp - 8], 0x7b73
mov dword [ebp - 0x24], 0x404b
mov dword [ebp - 0x14], 0x8763
mov dword [ebp - 0x18], 0xb08d
mov dword [ebp - 0x54], 0xe736
mov dword [ebp - 0x10], 0x1ed1
mov dword [ebp - 0x4c], 0x15d30
mov dword [ebp - 0x28], 0x15a4b
mov dword [ebp - 0x1c], 0x953c
mov dword [ebp - 0x70], 0x38bb
mov dword [ebp - 0x40], 0x16cfc
mov dword [ebp - 0x48], 0x436f
mov dword [ebp - 0x44], 0xd5f5
mov dword [ebp - 0x38], 0x2be3
mov dword [ebp - 0x34], 0x47bd
mov dword [ebp - 0x7c], 0x104b0
mov eax, dword [ebp - 0x38]
add eax, 0x6af3
push eax
call fcn.00413220
add esp, 4
mov ecx, dword [ebp - 0x24]
add ecx, 0x13dcd
push ecx
mov edx, dword [ebp - 0x34]
add edx, 0x10abe
push edx
call fcn.00415520
add esp, 8
mov eax, dword [ebp - 0x1c]
add eax, 0xada1
push eax
call fcn.0040d600
add esp, 4
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x10]
jge 0x40bd73
mov edx, dword [ebp - 0x30]
and edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 4]
jge 0x40b992
mov dword [ebp - 0x58], 1
jmp 0x40b999
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x3c]
jge 0x40b9aa
mov dword [ebp - 0x5c], 1
jmp 0x40b9b1
mov dword [ebp - 0x5c], 0
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x70]
xor edx, dword [ebp - 4]
or edx, dword [ebp - 0x58]
or edx, dword [ebp - 0x5c]
je 0x40bd73
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x10]
jne 0x40bd73
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x10]
jne 0x40bd73
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x24]
jne 0x40bd73
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
jne 0x40bd73
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x94]
cmp ecx, dword [ebp - 0x98]
jge 0x40ba2e
mov dword [ebp - 0x60], 1
jmp 0x40ba35
mov dword [ebp - 0x60], 0
mov edx, dword [ebp - 0x48]
or edx, dword [ebp - 0x50]
or edx, dword [ebp - 0x60]
je 0x40bd73
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x1c]
jge 0x40ba55
mov dword [ebp - 0x64], 1
jmp 0x40ba5c
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x24]
jge 0x40ba6d
mov dword [ebp - 0x68], 1
jmp 0x40ba74
mov dword [ebp - 0x68], 0
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 4]
jge 0x40ba8e
mov dword [ebp - 0x6c], 1
jmp 0x40ba95
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp - 0x44]
or ecx, dword [ebp - 0x64]
or ecx, dword [ebp - 0x68]
or ecx, dword [ebp - 0x6c]
je 0x40bd65
mov edx, dword [ebp - 0x7c]
cmp edx, dword [ebp - 0x28]
jne 0x40bd65
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x14]
jne 0x40bd65
push 0x13f43
push 0x13e19
push 0x1b25
push 0x16ccf
call dword [sym.imp.KERNEL32.dll_SetXStateFeaturesMask]
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x24]
jge 0x40baed
mov dword [ebp - 0x74], 1
jmp 0x40baf4
mov dword [ebp - 0x74], 0
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x20]
jge 0x40bb0e
mov dword [ebp - 0x78], 1
jmp 0x40bb15
mov dword [ebp - 0x78], 0
mov ecx, dword [ebp - 0x48]
and ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x74]
and edx, dword [ebp - 0x78]
or ecx, edx
je 0x40bd65
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jne 0x40bd65
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x14]
jne 0x40bd65
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x44]
jne 0x40bd65
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x3c]
jne 0x40bd65
mov ecx, dword [ebp - 0x50]
imul ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x40bd65
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
or eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x40]
jge 0x40bb85
mov dword [ebp - 0x80], 1
jmp 0x40bb8c
mov dword [ebp - 0x80], 0
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x18]
jge 0x40bba9
mov dword [ebp - 0x84], 1
jmp 0x40bbb3
mov dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x7c]
jge 0x40bbc7
mov dword [ebp - 0x88], 1
jmp 0x40bbd1
mov dword [ebp - 0x88], 0
mov ecx, dword [ebp - 0x80]
or ecx, dword [ebp - 0x84]
or ecx, dword [ebp - 0x88]
je 0x40bd65
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x28]
jne 0x40bd65
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x9c]
jne 0x40bd65
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 8]
jne 0x40bd65
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x28]
jne 0x40bd65
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x4c]
jne 0x40bd65
push 0xb1ed
push 0x11024
call dword [sym.imp.KERNEL32.dll_BackupRead]
add esp, 8
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x38]
jge 0x40bd39
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x3c]
jne 0x40bd39
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x10]
jne 0x40bd39
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x4c]
jne 0x40bd39
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 8]
jne 0x40bd39
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jne 0x40bd39
push 0x8c9c
push 0x14a10
push 0xe0cd
push 0x95f2
push 0x6e9e
call dword [sym.imp.KERNEL32.dll_GetProfileStringA]
add esp, 0x14
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jge 0x40bcb6
mov dword [ebp - 0x90], 1
jmp 0x40bcc0
mov dword [ebp - 0x90], 0
mov edx, dword [ebp - 0x50]
cmp edx, dword [ebp - 4]
jge 0x40bcd4
mov dword [ebp - 0x8c], 1
jmp 0x40bcde
mov dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x10]
and eax, dword [ebp - 0x8c]
or eax, dword [ebp - 0x90]
je 0x40bd39
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x54]
jne 0x40bd39
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x40]
jne 0x40bd39
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x2c]
jne 0x40bd39
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x54]
jne 0x40bd39
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
push 0xb7d5
push 0x102f9
push 0x12e1c
push 0x14532
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
add esp, 0x10
push 0xbe5c
push 0xb0
push 0x11e24
push 0x14aa
push 0x539c
push 0xee57
push 0x8e96
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
add esp, 0x1c
push 0xa102
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
add esp, 4
mov esp, ebp
pop ebp
ret