Function at 0x10040e58
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077c80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xdc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x10041023
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xc0], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x30], 0x67ca
mov dword [ebp - 0x68], 0x10009418
cmp dword [ebp - 0x30], 0x697c
jle 0x10040f85
push 0
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
and dword [ebp - 0x24], 0
jmp 0x10040ed1
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x4aa9
jge 0x10040f85
and dword [ebp - 0x28], 0
jmp 0x10040eeb
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x4359
jge 0x10040f80
and dword [ebp - 0x20], 0
jmp 0x10040f05
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x620
jge 0x10040f7b
and dword [ebp - 0x2c], 0
jmp 0x10040f1b
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x4df8
jge 0x10040f79
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sar eax, cl
mov ecx, dword [ebp - 0x20]
sar eax, cl
and eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], edx
push dword [ebp - 0xb8]
push dword [ebp - 0xbc]
lea ecx, [ebp - 0xec]
call fcn.1000b1a5
pop ecx
pop ecx
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
call fcn.100259bb
push eax
call fcn.1005e68c
pop ecx
lea ecx, [ebp - 0xec]
call fcn.1002599d
jmp 0x10040f14
jmp 0x10040efe
jmp 0x10040ee4
jmp 0x10040eca
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x10040fb1
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x10040faf
push 0x2366
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x10040fe2
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx]
mov dword [eax], ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x66d5
jge 0x10040ff8
push dword [ebp - 0x68]
call fcn.1005e68c
pop ecx
jmp 0x10041014
or dword [ebp - 4], 0xffffffff
jmp 0x1004101e
jmp 0x10041223
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa0]
movzx eax, byte [eax]
test eax, eax
je 0x100410b1
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x100410ac
push 0x775a
push 1
push 0
push 0x66fd
push 0x4ba7
call fcn.1003fa93
add esp, 0x14
jmp 0x10041223
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 1
jmp 0x10041139
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jl 0x10041223
mov eax, dword [ebp - 0x34]
mov dword [eax], 1
xor eax, eax
inc eax
cmp eax, 0xfffffffd
ja 0x1004115f
mov dword [ebp - 0x3c], 1
jmp 0x10041163
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.10025d6c
mov eax, dword [eax]
cmp eax, dword [ebp - 0x3c]
jne 0x10041183
mov dword [ebp - 0x8c], 1
jmp 0x1004118a
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x94]
mov eax, dword [eax]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.10025d6c
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax]
mov dword [ebp - 0xd4], eax
push 1
mov ecx, dword [ebp - 0x1c]
call fcn.10025d6c
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.10025d6c
cmp esi, dword [eax]
je 0x100411ea
mov dword [ebp - 0x38], 1
jmp 0x100411ee
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0xfcf4
je 0x10041200
mov dword [ebp - 0x40], 1
jmp 0x10041204
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.10025d6c
mov eax, dword [eax]
add eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xac]
mov dword [ecx], eax
jmp 0x1004112e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret