Function at 0x451210
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54922d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x36c
push esi
push edi
mov edi, ecx
push 0x10
mov dword [ebp - 0x44], edi
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov dword [ebp - 0x48], eax
cmp eax, 0xffffffff
je 0x45125c
push 0
push 0x100
lea ecx, [ebp - 0x378]
push ecx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
push 0x100
lea eax, [ebp - 0x378]
push eax
push 0x100
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0052653c
add esp, 0x14
lea ecx, [ebp - 0x60]
call fcn.00469ed0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
push dword [0x7c2884]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.0046aa30
test eax, eax
je 0x45137c
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x60]
call fcn.00469fb0
mov esi, eax
lea eax, [ebp - 0x24]
cmp eax, esi
je 0x45133f
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x45130b
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451301
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4515f0
push edx
push ecx
call fcn.004b9160
add esp, 8
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x24], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x14], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x451458
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45136d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4515f0
push edx
push ecx
call fcn.004b9160
add esp, 8
jmp 0x451458
mov edi, dword [ebp - 0x10]
cmp edi, 7
jb 0x4513ae
cmp edi, 0x10
mov dword [ebp - 0x14], 7
push 7
lea esi, [ebp - 0x24]
cmovae esi, dword [ebp - 0x24]
push str.Unknown
push esi
call fcn.00518310
add esp, 0xc
mov byte [esi + 7], 0
jmp 0x451441
mov ecx, edi
mov eax, 0x7fffffff
shr ecx, 1
sub eax, ecx
cmp edi, eax
jbe 0x4513c4
mov esi, 0x7fffffff
jmp 0x4513d1
lea eax, [edi + ecx]
mov esi, 0xf
cmp eax, esi
cmova esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x24]
call fcn.0041fae0
mov ecx, dword [str.Unknown]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x10], esi
mov dword [eax], ecx
mov cx, word [0x55aa64]
mov word [eax + 4], cx
mov cl, byte [0x55aa66]
mov byte [eax + 6], cl
mov dword [ebp - 0x40], eax
mov byte [eax + 7], 0
cmp edi, 0x10
jb 0x45143e
mov ecx, dword [ebp - 0x24]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x451431
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4515ff
push edi
push ecx
call fcn.004b9160
mov eax, dword [ebp - 0x40]
add esp, 8
mov dword [ebp - 0x24], eax
mov edi, dword [ebp - 0x44]
push 1
push 0x21
push str.BootstrapperVersionInfoLoadFailed
mov ecx, dword [edi + 0x1ec]
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp dword [ebp - 0x48], 0xffffffff
lea edx, [ebp - 0x178]
mov eax, 0x5556ff
mov dword [ebp - 0x3c], 0
cmove edx, eax
mov dword [ebp - 0x2c], 0
mov ecx, edx
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x451488
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.0041fee0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 2
push eax
call fcn.0049eda0
mov edx, dword [ebp - 0x28]
add esp, 4
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x4514e3
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4514d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4515f5
push edx
push ecx
call fcn.004b9160
add esp, 8
lea eax, [ebp - 0x24]
push eax
call fcn.0049ed40
mov eax, dword [edi]
lea ecx, [ebp - 0x78]
add esp, 4
mov eax, dword [eax + 0x98]
push ecx
mov ecx, edi
call eax
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
push eax
call fcn.004b9890
push eax
mov byte [ebp - 4], 4
call fcn.0049ee00
mov edx, dword [ebp - 0x28]
add esp, 0xc
cmp edx, 0x10
jb 0x45154e
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451544
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4515fa
push edx
push ecx
call fcn.004b9160
add esp, 8
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
cmp edx, 8
jb 0x451596
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45158c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4515fa
push edx
push ecx
call fcn.004b9160
add esp, 8
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x4515c6
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4515bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4515ff
push edx
push ecx
call fcn.004b9160
add esp, 8
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.00469f70
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0051bb5f
call fcn.0051bb5f
call fcn.0051bb5f
call fcn.0051bb5f
int3