Function at 0x4bae70
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x564a1b
mov eax, dword fs:[0]
push eax
sub esp, 0x5a8
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0x570], eax
push ebx
push esi
push edi
mov eax, dword [0x5b7a9c]
xor eax, esp
push eax
lea eax, [esp + 0x5b8]
mov dword fs:[0], eax
push 0x208
lea eax, [esp + 0x170]
push eax
push 0
mov esi, ecx
call fcn.00412940
lea ecx, [esp + 0x178]
push 0
push ecx
call fcn.00450b40
push 0x2d0
push str.Left_Margin
mov edi, eax
push str.Printing
push edi
call fcn.0044f120
mov dword [esp + 0x40], eax
fild dword [esp + 0x40]
add esp, 0x24
fcomp qword [0x573d08]
fnstsw ax
test ah, 5
jp 0x4baf08
fldz
jmp 0x4baf28
push 0x2d0
push str.Left_Margin
push str.Printing
push edi
call fcn.0044f120
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
add esp, 0x10
push 0x2d0
fstp dword [esp + 0x34]
push str.Right_Margin
push str.Printing
push edi
call fcn.0044f120
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
add esp, 0x10
fcomp qword [0x573d08]
fnstsw ax
test ah, 5
jp 0x4baf5d
fldz
jmp 0x4baf7d
push 0x2d0
push str.Right_Margin
push str.Printing
push edi
call fcn.0044f120
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
add esp, 0x10
push 0x2d0
fstp dword [esp + 0x30]
push str.Top_Margin
push str.Printing
push edi
call fcn.0044f120
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
add esp, 0x10
fcomp qword [0x573d08]
fnstsw ax
test ah, 5
jp 0x4bafb2
fldz
jmp 0x4bafd2
push 0x2d0
push str.Top_Margin
push str.Printing
push edi
call fcn.0044f120
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
add esp, 0x10
push 0x2d0
fstp dword [esp + 0x38]
push str.Bottom_Margin
push str.Printing
push edi
call fcn.0044f120
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
add esp, 0x10
fcomp qword [0x573d08]
fnstsw ax
test ah, 5
jp 0x4bb007
fldz
jmp 0x4bb027
push 0x2d0
push str.Bottom_Margin
push str.Printing
push edi
call fcn.0044f120
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
add esp, 0x10
push 4
fstp dword [esp + 0x20]
fld qword [0x5839c0]
lea edx, [esp + 0x3c]
push edx
fstp qword [esp + 0x2c]
push 0x2000000d
mov ebx, 1
push 0x400
mov dword [esi + 0x8c], ebx
mov dword [esp + 0x48], ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp dword [esp + 0x38], 0
jne 0x4bb10b
mov dword [esi + 0x598], ebx
call fcn.0050830c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4bb086
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x24], ebx
push 0x54d3
mov dword [esp + 0x5c4], 0
call fcn.00508284
test eax, eax
je 0x4bb0c2
push 0x54d3
push eax
lea ecx, [esp + 0x2c]
call fcn.00401da0
mov ebx, dword [esp + 0x24]
push 0x59c
mov ecx, esi
call fcn.005067b4
test eax, eax
je 0x4bb0da
push ebx
mov ecx, eax
call fcn.005068f4
fld qword [0x5839b8]
lea eax, [ebx - 0x10]
fstp qword [esp + 0x24]
mov dword [esp + 0x5c0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bb10b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
fld dword [esp + 0x30]
sub esp, 8
fdiv qword [esp + 0x2c]
lea ecx, [esp + 0x44]
fstp qword [esp]
push str._.2f
push ecx
call fcn.00401330
add esp, 0x10
lea edx, [esp + 0x3c]
push edx
lea ecx, [esi + 0x528]
call fcn.005068f4
fld dword [esp + 0x2c]
fdiv qword [esp + 0x24]
sub esp, 8
lea eax, [esp + 0x44]
fstp qword [esp]
push str._.2f
push eax
call fcn.00401330
add esp, 0x10
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esi + 0x4d4]
call fcn.005068f4
fld dword [esp + 0x34]
fdiv qword [esp + 0x24]
sub esp, 8
lea edx, [esp + 0x44]
fstp qword [esp]
push str._.2f
push edx
call fcn.00401330
add esp, 0x10
lea eax, [esp + 0x3c]
push eax
lea ecx, [esi + 0x480]
call fcn.005068f4
fld dword [esp + 0x1c]
fdiv qword [esp + 0x24]
sub esp, 8
lea ecx, [esp + 0x44]
fstp qword [esp]
push str._.2f
push ecx
call fcn.00401330
add esp, 0x10
lea edx, [esp + 0x3c]
push edx
lea ecx, [esi + 0x42c]
call fcn.005068f4
push str.LfRd_t
push str.Header
push str.Printing
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.0044f010
mov ecx, dword [esp + 0x34]
add esp, 0x14
push ecx
lea ecx, [esi + 0x384]
call fcn.005068f4
mov edx, dword [esp + 0x20]
push edx
call fcn.004ff267
push 0x57f610
push 0x57f600
push str.Printing
lea eax, [esp + 0x30]
push eax
push edi
call fcn.0044f010
mov ecx, dword [esp + 0x38]
add esp, 0x18
push ecx
lea ecx, [esi + 0x330]
call fcn.005068f4
mov edx, dword [esp + 0x20]
push edx
call fcn.004ff267
push 1
push str.Page_Number
push str.Printing
push edi
call fcn.0044f120
push 0xa
push 0x64
lea ecx, [esp + 0xc0]
push ecx
push eax
call fcn.00540a47
add esp, 0x24
lea edx, [esp + 0xa4]
push edx
lea ecx, [esi + 0x3d8]
call fcn.005068f4
push 0
push str.Ignore_Header
push str.Printing
push edi
mov dword [esi + 0x8c], 0
call fcn.0044f120
mov edx, dword [esi + 0x104]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0x10
xor ecx, ecx
test eax, eax
setne cl
push 0
push ecx
push 0xf1
push edx
call ebx
push 0xffffffffffffffff
push 0
push edi
call fcn.004510d0
add esp, 0xc
cmp dword [0x5ed74c], 0
je 0x4bb2d8
mov eax, dword [esi + 0x254]
push 0
push 1
push 0xf1
push eax
call ebx
cmp dword [0x5ed748], 0
je 0x4bb2f3
mov ecx, dword [esi + 0x2a8]
push 0
push 1
push 0xf1
push ecx
call ebx
cmp dword [0x5ed744], 0
je 0x4bb30e
mov edx, dword [esi + 0x2fc]
push 0
push 1
push 0xf1
push edx
call ebx
cmp dword [0x5ed750], 0
je 0x4bb329
mov eax, dword [esi + 0x158]
push 0
push 1
push 0xf1
push eax
call ebx
cmp dword [0x5ed740], 0
je 0x4bb344
mov ecx, dword [esi + 0xb0]
push 0
push 1
push 0xf1
push ecx
call ebx
mov ecx, dword [esp + 0x5b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x570]
xor ecx, esp
call fcn.0053fa67
mov esp, ebp
pop ebp
ret