Function at 0x41f990
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5f0140
push 0x5747a0
mov eax, dword fs:[0]
push eax
sub esp, 0x8c8
mov eax, dword [0x603144]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 0x854], esi
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x850], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
push ecx
push 0x5aeba0
push 0xa
lea eax, [ebp - 0x48]
push eax
call fcn.004355f0
add esp, 0x10
push 0x5aeffc
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 0x858], ecx
lea eax, [ebp - 0x858]
push eax
push 0x5aefe8
lea eax, [ebp - 0x48]
push eax
call fcn.004038f0
add esp, 0xc
dec dword [ebp - 0x858]
mov ecx, esi
call fcn.00422a30
mov edi, eax
add edi, dword [0x608688]
mov dword [ebp - 0x864], edi
push 0x10
push edi
call fcn.00404450
add esp, 8
test eax, eax
jne 0x420349
mov dword [ebp - 0x84c], eax
lea ecx, [edi + 0x10]
mov dword [ebp - 0x84c], ecx
mov eax, dword [ebp - 0x858]
lea edi, [ecx + eax*8]
mov dword [ebp - 0x84c], edi
push 8
push edi
call fcn.00404450
add esp, 8
test eax, eax
jne 0x420349
mov ecx, esi
call fcn.00422a30
mov esi, dword [edi + 4]
and esi, 0x7fffffff
add eax, dword [0x608688]
add esi, eax
mov dword [ebp - 0x860], esi
lea edi, [esi + 0x10]
mov dword [ebp - 0x84c], edi
push 8
push edi
call fcn.00404450
add esp, 8
test eax, eax
jne 0x420349
cmp byte [ebp + 0xc], al
je 0x41fd7d
mov eax, dword [0x608654]
test eax, eax
je 0x41faeb
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dl, 1
mov ecx, dword [0x60769c]
call fcn.0041e130
mov dword [ebp - 0x888], 6
xorps xmm0, xmm0
movups xmmword [ebp - 0x884], xmm0
mov dword [ebp - 0x874], 0
movq qword [ebp - 0x870], xmm0
mov dword [ebp - 0x87c], str.Indx
mov dword [ebp - 0x880], 0
lea eax, [ebp - 0x888]
push eax
push 0
push 0x1061
push dword [0x608654]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x87c], str.Resource_Name_ID
lea eax, [ebp - 0x888]
push eax
push 1
push 0x1061
push dword [0x608654]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x87c], str.OffsetToData
mov dword [ebp - 0x880], 0x64
lea eax, [ebp - 0x888]
push eax
push 2
push 0x1061
push dword [0x608654]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x87c], str.Type_Detected
mov dword [ebp - 0x880], 0x9b
lea eax, [ebp - 0x888]
push eax
push 3
push 0x1061
push dword [0x608654]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xb
push dword [0x608654]
call dword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov dword [ebp - 0x85c], edx
movzx ecx, word [esi + 0xe]
movzx eax, word [esi + 0xc]
add ecx, eax
cmp edx, ecx
jae 0x41fd36
push 0x800
push 0
lea eax, [ebp - 0x848]
push eax
call fcn.00574900
push 8
push edi
call fcn.00404450
add esp, 0x14
test eax, eax
jne 0x41fd36
mov esi, dword [edi]
movzx eax, si
test esi, esi
jns 0x41fc6f
and esi, 0x7fffffff
add esi, dword [ebp - 0x864]
push 4
push esi
call fcn.00404450
add esp, 8
test eax, eax
jne 0x41fd1b
mov dword [ebp - 0x868], eax
movzx ecx, word [esi]
cmp eax, ecx
jae 0x41fc85
cmp eax, 0x400
ja 0x41fc85
movzx ecx, word [esi + eax*2 + 2]
cmp ecx, 0x1f
jbe 0x41fc85
mov word [ebp + eax*2 - 0x848], cx
inc eax
jmp 0x41fc46
push eax
push str._04X
lea eax, [ebp - 0x848]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov ecx, dword [ebp - 0x854]
call fcn.00422a30
mov esi, dword [edi + 4]
and esi, 0x7fffffff
add eax, dword [0x608688]
add esi, eax
mov ecx, dword [ebp - 0x854]
call fcn.00422a30
add eax, dword [esi + 0x14]
add eax, dword [0x608688]
mov dword [ebp - 0x850], eax
push 0x10
push eax
call fcn.00404450
add esp, 8
test eax, eax
jne 0x41fd1b
mov esi, dword [ebp - 0x850]
mov ecx, dword [esi]
call fcn.00422a30
add eax, dword [0x608688]
push dword [esi + 4]
push eax
call fcn.004040c0
mov esi, eax
push dword [edi + 4]
push str._08X
push 0x6083a8
call fcn.0041d430
add esp, 0x14
push esi
push 0x6083a8
lea eax, [ebp - 0x848]
push eax
mov edx, dword [ebp - 0x85c]
mov ecx, dword [0x608654]
call fcn.004211a0
mov edx, dword [ebp - 0x85c]
inc edx
add edi, 8
mov dword [ebp - 0x84c], edi
mov esi, dword [ebp - 0x860]
jmp 0x41fbe0
push 0xfffe
push 1
push 0x101e
push dword [0x608654]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xfffe
push 3
push 0x101e
push dword [0x608654]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0xb
push dword [0x608654]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x420349
mov eax, dword [ebp - 0x850]
lea esi, [edi + eax*8]
mov dword [ebp - 0x84c], esi
mov edi, dword [ebp - 0x854]
mov ecx, edi
call fcn.00422a30
mov ecx, dword [esi + 4]
and ecx, 0x7fffffff
add eax, dword [0x608688]
add ecx, 0x10
add eax, ecx
mov dword [ebp - 0x84c], eax
push 8
push eax
call fcn.00404450
add esp, 8
test eax, eax
jne 0x420349
mov ecx, edi
call fcn.00422a30
mov esi, eax
mov eax, dword [ebp - 0x84c]
add esi, dword [eax + 4]
add esi, dword [0x608688]
push 0x10
push esi
call fcn.00404450
add esp, 8
test eax, eax
jne 0x420349
cmp byte [ebp + 0x18], al
je 0x41fe2a
push dword [ebp - 0x850]
push str.Resource__d
push 0x6083a8
call fcn.0041d430
add esp, 0xc
push dword [esi + 4]
mov ecx, dword [esi]
call fcn.00422a30
add eax, dword [0x608688]
mov edx, eax
mov ecx, 0x6083a8
call fcn.004051e0
mov eax, dword [0x608658]
test eax, eax
jne 0x41ff14
xor dl, dl
mov ecx, dword [0x60769c]
call fcn.0041e130
mov dword [ebp - 0x8a8], 6
xorps xmm0, xmm0
movups xmmword [ebp - 0x8a4], xmm0
mov dword [ebp - 0x894], 0
movq qword [ebp - 0x890], xmm0
mov dword [ebp - 0x89c], str.Indx
mov dword [ebp - 0x8a0], 0
lea eax, [ebp - 0x8a8]
push eax
push 0
push 0x1061
push dword [0x608658]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x89c], str.Member
mov dword [ebp - 0x8a0], 0x64
lea eax, [ebp - 0x8a8]
push eax
push 1
push 0x1061
push dword [0x608658]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x89c], str.Value
mov dword [ebp - 0x8a0], 0x12c
lea eax, [ebp - 0x8a8]
push eax
push 2
push 0x1061
push dword [0x608658]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x89c], str.Comment
lea eax, [ebp - 0x8a8]
push eax
push 3
push 0x1061
push dword [0x608658]
jmp 0x41ff1e
push 0
push 0
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esi]
push str._08X
push 0x6083a8
call fcn.0041d430
add esp, 0xc
push 0x5acf10
push 0x6083a8
push str.OffsetToData
xor edx, edx
mov ecx, dword [0x608658]
call fcn.004211a0
push dword [esi + 4]
push str._08X
push 0x6083a8
call fcn.0041d430
add esp, 0xc
push 0x5acf10
push 0x6083a8
push str.Size
mov edx, 1
mov ecx, dword [0x608658]
call fcn.004211a0
push dword [esi + 8]
push str._08X
push 0x6083a8
call fcn.0041d430
add esp, 0xc
push 0x5acf10
push 0x6083a8
push str.CodePage
mov edx, 2
mov ecx, dword [0x608658]
call fcn.004211a0
push dword [esi + 0xc]
push str._08X
push 0x6083a8
call fcn.0041d430
add esp, 0xc
push 0x5acf10
push 0x6083a8
push str.Reserved
mov edx, 3
mov ecx, dword [0x608658]
call fcn.004211a0
push 0x5acf10
push 0x5acf10
push 0x5acf10
mov edx, 4
mov ecx, dword [0x608658]
call fcn.004211a0
push 0x64
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x850], eax
push 0x64
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x854], eax
mov eax, dword [ebp - 0x84c]
movzx eax, word [eax]
mov dword [ebp - 0x860], eax
push 0x64
push dword [ebp - 0x850]
push 0x1001
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x420078
push str.Unknown
push dword [ebp - 0x850]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
push 0x64
push dword [ebp - 0x854]
push 0x1002
push dword [ebp - 0x860]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4200a9
push str.Unknown
push dword [ebp - 0x854]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
mov eax, dword [ebp - 0x84c]
movzx eax, word [eax]
mov ecx, eax
and ecx, 0x3ff
shr ax, 0xa
movzx eax, ax
mov edx, eax
test cx, cx
jne 0x4200d9
cmp eax, 5
ja 0x4200d9
push 0x5acf10
push str.Neutral
jmp 0x42011b
movzx eax, dx
cmp cx, 0x7f
jne 0x4200f3
cmp eax, 5
ja 0x4200f3
push 0x5acf10
push str.Invariant
jmp 0x42011b
push dword [ebp - 0x854]
push dword [ebp - 0x850]
push str._s___s
push 0x6083a8
call fcn.0041d430
add esp, 0x10
push 0x5acf10
push 0x6083a8
push str._Language
mov edx, 5
mov ecx, dword [0x608658]
call fcn.004211a0
push dword [ebp - 0x850]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x854]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x5acf10
push 0x5acf10
push str._Entropy
mov edx, 6
mov ecx, dword [0x608658]
call fcn.004211a0
push 0x5acf10
push 0x5acf10
push str._MD5
mov edx, 7
mov ecx, dword [0x608658]
call fcn.004211a0
push 2
push 6
push dword [0x608658]
push dword [esi + 4]
mov ecx, dword [esi]
call fcn.00422a30
push eax
call fcn.00434b80
push 2
push 7
push dword [0x608658]
push dword [esi + 4]
mov ecx, dword [esi]
call fcn.00422a30
add eax, dword [0x608688]
push eax
call fcn.00434d90
mov dword [ebp - 0x8d8], 0
mov ecx, dword [esi]
call fcn.00422a30
mov esi, eax
add esi, dword [0x608688]
push 0xa
push esi
call fcn.00404450
add esp, 8
test eax, eax
jne 0x420349
movzx eax, byte [esi + 9]
push eax
movzx eax, byte [esi + 8]
push eax
movzx eax, byte [esi + 7]
push eax
movzx eax, byte [esi + 6]
push eax
movzx eax, byte [esi + 5]
push eax
movzx eax, byte [esi + 4]
push eax
movzx eax, byte [esi + 3]
push eax
movzx eax, byte [esi + 2]
push eax
movzx eax, byte [esi + 1]
push eax
movzx eax, byte [esi]
push eax
push str._02X__02X__02X__02X__02X__02X__02X__02X__02X__02X
push 0x6083a8
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x30
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
movzx eax, byte [esi]
mov word [ebp - 0x34], ax
mov ecx, 0x2e
cmp byte [esi], 0x1d
ja 0x42026b
mov word [ebp - 0x34], cx
movzx eax, byte [esi + 1]
mov word [ebp - 0x32], ax
cmp byte [esi + 1], 0x1d
ja 0x42027d
mov word [ebp - 0x32], cx
movzx eax, byte [esi + 2]
mov word [ebp - 0x30], ax
cmp byte [esi + 2], 0x1d
ja 0x42028f
mov word [ebp - 0x30], cx
movzx eax, byte [esi + 3]
mov word [ebp - 0x2e], ax
cmp byte [esi + 3], 0x1d
ja 0x4202a1
mov word [ebp - 0x2e], cx
movzx eax, byte [esi + 4]
mov word [ebp - 0x2c], ax
cmp byte [esi + 4], 0x1d
ja 0x4202b3
mov word [ebp - 0x2c], cx
movzx eax, byte [esi + 5]
mov word [ebp - 0x2a], ax
cmp byte [esi + 5], 0x1d
ja 0x4202c5
mov word [ebp - 0x2a], cx
movzx eax, byte [esi + 6]
mov word [ebp - 0x28], ax
cmp byte [esi + 6], 0x1d
ja 0x4202d7
mov word [ebp - 0x28], cx
movzx eax, byte [esi + 7]
mov word [ebp - 0x26], ax
cmp byte [esi + 7], 0x1d
ja 0x4202e9
mov word [ebp - 0x26], cx
movzx eax, byte [esi + 8]
mov word [ebp - 0x24], ax
cmp byte [esi + 8], 0x1d
ja 0x4202fb
mov word [ebp - 0x24], cx
movzx eax, byte [esi + 9]
mov word [ebp - 0x22], ax
cmp byte [esi + 9], 0x1d
ja 0x42030d
mov word [ebp - 0x22], cx
xor eax, eax
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x34]
push eax
push 0x6083a8
push str._First_10_Bytes
mov edx, 8
mov ecx, dword [0x608658]
call fcn.004211a0
jmp 0x420349
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00572cc2
mov esp, ebp
pop ebp
ret