Function at 0x4bb7f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x56482b
mov eax, dword fs:[0]
push eax
sub esp, 0x5a8
mov eax, dword [0x5b7b5c]
xor eax, esp
mov dword [esp + 0x570], eax
push ebx
push esi
push edi
mov eax, dword [0x5b7b5c]
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.00412ad0
lea ecx, [esp + 0x178]
push 0
push ecx
call fcn.0044f4e0
push 0x2d0
push str.Left_Margin
mov edi, eax
push str.Printing
push edi
call fcn.0044d880
mov dword [esp + 0x40], eax
fild dword [esp + 0x40]
add esp, 0x24
fcomp qword [0x573d28]
fnstsw ax
test ah, 5
jp 0x4bb888
fldz
jmp 0x4bb8a8
push 0x2d0
push str.Left_Margin
push str.Printing
push edi
call fcn.0044d880
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.0044d880
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
add esp, 0x10
fcomp qword [0x573d28]
fnstsw ax
test ah, 5
jp 0x4bb8dd
fldz
jmp 0x4bb8fd
push 0x2d0
push str.Right_Margin
push str.Printing
push edi
call fcn.0044d880
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.0044d880
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
add esp, 0x10
fcomp qword [0x573d28]
fnstsw ax
test ah, 5
jp 0x4bb932
fldz
jmp 0x4bb952
push 0x2d0
push str.Top_Margin
push str.Printing
push edi
call fcn.0044d880
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.0044d880
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
add esp, 0x10
fcomp qword [0x573d28]
fnstsw ax
test ah, 5
jp 0x4bb987
fldz
jmp 0x4bb9a7
push 0x2d0
push str.Bottom_Margin
push str.Printing
push edi
call fcn.0044d880
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
add esp, 0x10
push 4
fstp dword [esp + 0x20]
fld qword [0x583ac0]
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 0x4bba8b
mov dword [esi + 0x598], ebx
call fcn.005089db
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4bba06
push 0x80004005
call fcn.00401340
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.00508953
test eax, eax
je 0x4bba42
push 0x54d3
push eax
lea ecx, [esp + 0x2c]
call fcn.00401d70
mov ebx, dword [esp + 0x24]
push 0x59c
mov ecx, esi
call fcn.00506ea6
test eax, eax
je 0x4bba5a
push ebx
mov ecx, eax
call fcn.00506fe6
fld qword [0x583ab8]
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 0x4bba8b
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.00401320
add esp, 0x10
lea edx, [esp + 0x3c]
push edx
lea ecx, [esi + 0x528]
call fcn.00506fe6
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.00401320
add esp, 0x10
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esi + 0x4d4]
call fcn.00506fe6
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.00401320
add esp, 0x10
lea eax, [esp + 0x3c]
push eax
lea ecx, [esi + 0x480]
call fcn.00506fe6
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.00401320
add esp, 0x10
lea edx, [esp + 0x3c]
push edx
lea ecx, [esi + 0x42c]
call fcn.00506fe6
push str.LfRd_t
push str.Header
push str.Printing
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.0044d7a0
mov ecx, dword [esp + 0x34]
add esp, 0x14
push ecx
lea ecx, [esi + 0x384]
call fcn.00506fe6
mov edx, dword [esp + 0x20]
push edx
call fcn.004ff96a
push 0x57f700
push 0x57f6f0
push str.Printing
lea eax, [esp + 0x30]
push eax
push edi
call fcn.0044d7a0
mov ecx, dword [esp + 0x38]
add esp, 0x18
push ecx
lea ecx, [esi + 0x330]
call fcn.00506fe6
mov edx, dword [esp + 0x20]
push edx
call fcn.004ff96a
push 1
push str.Page_Number
push str.Printing
push edi
call fcn.0044d880
push 0xa
push 0x64
lea ecx, [esp + 0xc0]
push ecx
push eax
call fcn.005403b7
add esp, 0x24
lea edx, [esp + 0xa4]
push edx
lea ecx, [esi + 0x3d8]
call fcn.00506fe6
push 0
push str.Ignore_Header
push str.Printing
push edi
mov dword [esi + 0x8c], 0
call fcn.0044d880
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.0044f9c0
add esp, 0xc
cmp dword [0x5ed7bc], 0
je 0x4bbc58
mov eax, dword [esi + 0x254]
push 0
push 1
push 0xf1
push eax
call ebx
cmp dword [0x5ed7b8], 0
je 0x4bbc73
mov ecx, dword [esi + 0x2a8]
push 0
push 1
push 0xf1
push ecx
call ebx
cmp dword [0x5ed7b4], 0
je 0x4bbc8e
mov edx, dword [esi + 0x2fc]
push 0
push 1
push 0xf1
push edx
call ebx
cmp dword [0x5ed7c0], 0
je 0x4bbca9
mov eax, dword [esi + 0x158]
push 0
push 1
push 0xf1
push eax
call ebx
cmp dword [0x5ed7b0], 0
je 0x4bbcc4
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.0053f73f
mov esp, ebp
pop ebp
ret